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

Notifications

Announcements

No record found.

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!

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 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
    Inge M. Bruvik Profile Picture
    1,105 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,098

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,556 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,108 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans