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!
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);
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.
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;
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,554 Super User 2024 Season 2
Martin Dráb 228,588 Most Valuable Professional
nmaenpaa 101,148