Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Error when setting up "Assisted Setup" extension

Posted on by
I have created the project as specified in the exercise provided in the training module provided by Microsoft named /Build a Assisted Setup in Dynamics 365 Business Central/. Link to the training module is as follows;
 
 
All codes where copied as instructed in the training module. Only IDs were changed to the following;
 
/idRanges/: [
    {
      /from/: 50721,
      /to/: 50730
    }
  ],
 
However, when i attempt to setup the extension i receive the following error;

If requesting support, please provide the following details to help troubleshooting:

The Task does not exist. Identification fields and values: No.=''

Internal session ID:
7b0e7796-0a57-4430-9b75-2f4fb1af8c06

Application Insights session ID:
251e5b36-345d-49a0-95f8-bb2f2cabbfa1

Client activity id:
f82c462f-974a-dd00-68f5-9d9296416376

Time stamp on error:
2023-12-29T06:00:19.3213086Z

AL call stack:
ToDoAssistedSetup(Page 50721).OnOpenPage(Trigger) line 2 - AssistedSetupProject by Lasen
/Guided Experience Impl./(CodeUnit 1991).RunObject line 4 - System Application by Microsoft
/Guided Experience Impl./(CodeUnit 1991).Run line 34 - System Application by Microsoft
/Guided Experience Impl./(CodeUnit 1991).RunExtensionSetup line 21 - System Application by Microsoft
/Guided Experience/(CodeUnit 1990).RunExtensionSetup line 2 - System Application by Microsoft
/Extension Installation Impl/(CodeUnit 2500).RunExtensionSetup line 6 - System Application by Microsoft
/Extension Management/(Page 2500)./SetupApp - OnAction/(Trigger) line 9 - System Application by Microsoft

No errors are shown on VSCode nor do any show up when the project is published.

  • Suggested answer
    Error when setting up "Assisted Setup" extension
    Hi!

    This error is caused by the line ToDoRec.Get(); in trigger OnOpenPage() as it tries to get a record from an empty table. You can safely remove this line.
     
    Also, using SourceTableTemporary = true; here makes the fields uneditable.
     
    Regards,
    Tuukka

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans