web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

No overload for method 'AddTranslation' takes 4 arguments. Candidates: 'AddTranslation(Integer, Integer, Text)' defined in Codeunit 'Assisted Setup' by the extension System Application by Microsoft (19.1.31886.32760)

(0) ShareShare
ReportReport
Posted on by 150

Hello all,

Receiving this error message while trying to use the function of the codeunit "Assisted Setup".

AssistedSetup.AddTranslation(myAppInfo.Id, Page::"Customer Rewards Wizard", 1033, WizardTxt);


Any possible hints for this? 

Thanks!

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    You have one parameter too much in your function call.

    Are you using the Guided experience codeunit  or the assisted setup codeunit?

    The assisted setup codeunit is marked as obselete.

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Here you can see the 3 parameters you should use:

    /// <summary>Adds the translation for the name of the setup.</summary>

       /// <param name="PageID">The ID of the page to open when the user clicks the setup.</param>

       /// <param name="LanguageID">The language ID for which the translation is made.</param>

       /// <param name="TranslatedName">The translated text of the name.</param>

       [Obsolete('Replaced by AddTranslation(GuidedExperienceType, ObjectType, ObjectID, LanguageID, TranslatedName) in the Guided Experience codeunit.', '18.0')]

       procedure AddTranslation(PageID: Integer; LanguageID: Integer; TranslatedName: Text)

       begin

           GuidedExperience.AddTranslationForSetupObjectTitle(GuidedExperienceType::"Assisted Setup", ObjectType::Page, PageID, LanguageID, TranslatedName);

       end;

  • jimxmy Profile Picture
    150 on at

    Hi!

    So I have two questions regarding this.

    1. Since AssistedSetup is now obsolete, should I be using Guided Experience codeunit instead?

    2. How to find the equivalent method in GuidedExperience, let's say for a method of -

    AssistedSetup.Complete()

    Thanks for your response! Appreciated. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 796 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 481 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 377 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans