Integrate assisted setup into onboarding
An assisted setup guide is a NavigatePage that leads users through an infrequent or required configuration task. Registration with the Guided Experience framework makes the guide discoverable on the Assisted Setup page and lets Business Central display its completion state.
Build a transactional wizard
Set PageType = NavigatePage and use root-level groups for the wizard steps. Control each group's Visible property with the current step, and add Back, Next, and Finish actions with InFooterBar = true.
Use a temporary source record when the guide edits setup data:
page 70700 "Cust Follow-up Wizard"
{
PageType = NavigatePage;
SourceTable = "Cust Follow-up Setup";
SourceTableTemporary = true;
Caption = 'Set up customer follow-up';
}
The temporary record prevents field changes from reaching the database as users move between controls. Load existing setup into the temporary record when the page opens, and copy the selected values to the persistent setup record only from the Finish action. Closing the wizard before Finish then leaves the stored configuration unchanged.
Use InstructionalText to explain the purpose of each step. Keep the flow short, validate required values before moving forward, and reserve the final step for confirming the outcome.
Register the guide
Subscribe to OnRegisterAssistedSetup on the Guided Experience codeunit. The current system application exposes this codeunit in the System.Environment.Configuration namespace.
codeunit 70700 "Cust Follow-up Registration"
{
[EventSubscriber(ObjectType::Codeunit,
Codeunit::System.Environment.Configuration."Guided Experience",
OnRegisterAssistedSetup, '', true, true)]
local procedure InsertAssistedSetup()
var
GuidedExperience: Codeunit System.Environment.Configuration."Guided Experience";
AssistedSetupGroup: Enum System.Environment.Configuration."Assisted Setup Group";
VideoCategory: Enum System.Media."Video Category";
begin
GuidedExperience.InsertAssistedSetup(
'Set up customer follow-up',
'Customer follow-up',
'Choose defaults for customer follow-up work.',
5,
ObjectType::Page,
Page::"Cust Follow-up Wizard",
AssistedSetupGroup::ReadyForBusiness,
'',
VideoCategory::Uncategorized,
'',
true);
end;
}
The registration provides the title, short title, description, expected duration, object to run, assisted setup group, optional video and help references, and whether the guide is the app's primary setup.
Record completion after persistence
Mark the guide complete only after validation and persistent writes succeed.
GuidedExperience.CompleteAssistedSetup(
ObjectType::Page,
Page::"Cust Follow-up Wizard");
Call CompleteAssistedSetup from the successful Finish path, after the setup record is inserted or modified. This order keeps the extension's configuration state and the Assisted Setup status aligned. An extension-owned completion field can support business logic, but it doesn't replace the Guided Experience completion state shown to users.
For more information, see Designing assisted setup guides and Onboard users to your app.