{"title":"Page 7201 CDS Connection Setup Wizard, extension points 29","url":"https://jonas-paprotka.de/ref/page/7201-cds-connection-setup-wizard/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-14","object":{"type":"page","id":7201,"name":"CDS Connection Setup Wizard","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/7201-cds-connection-setup-wizard/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/7201-cds-connection-setup-wizard/source/","path":"src/Layers/W1/BaseApp/Integration/Dataverse/CDSConnectionSetupWizard.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:7200":{"name":"CDS Connection Setup","url":"https://jonas-paprotka.de/ref/table/7200-cds-connection-setup/"},"codeunit:7201":{"name":"CDS Integration Impl.","url":"https://jonas-paprotka.de/ref/codeunit/7201-cds-integration-impl/"},"codeunit:7203":{"name":"CDS Environment","url":"https://jonas-paprotka.de/ref/codeunit/7203-cds-environment/"},"page:7209":{"name":"CDS Couple Salespersons","url":"https://jonas-paprotka.de/ref/page/7209-cds-couple-salespersons/"},"table:5373":{"name":"CRM Full Synch. Review Line","url":"https://jonas-paprotka.de/ref/table/5373-crm-full-synch-review-line/"},"codeunit:1990":{"name":"Guided Experience","url":"https://jonas-paprotka.de/ref/codeunit/1990-guided-experience/"},"page:7200":{"name":"CDS Connection Setup","url":"https://jonas-paprotka.de/ref/page/7200-cds-connection-setup/"},"codeunit:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"},"codeunit:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"},"codeunit:501":{"name":"OAuth2","url":"https://jonas-paprotka.de/ref/codeunit/501-oauth2/"},"codeunit:4030":{"name":"Client Type Management","url":"https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/"}},"procs":[{"name":"Client Secret.OnValidate","line":160,"kind":"trigger","steps":[[163,"ext","table",7200,"SetClientSecret",1]]},{"name":"ServerAddress.OnValidate","line":188,"kind":"trigger","steps":[[190,"ext","codeunit",7201,"CheckModifyConnectionURL",1]]},{"name":"ServerAddress.OnAssistEdit","line":198,"kind":"trigger","steps":[[202,"ext","codeunit",7203,"SelectTenantEnvironment",3],[202,"ext","codeunit",7203,"GetGlobalDiscoverabilityToken",0]]},{"name":"SignInAdmin.OnDrillDown","line":231,"kind":"trigger","steps":[[237,"ext","codeunit",7201,"SignInCDSAdminUser",7],[238,"ext","codeunit",7201,"JITProvisionFirstPartyApp",1],[243,"ext","table",7200,"SetPassword",1],[245,"ext","table",7200,"SetPassword",1],[245,"call","CurrentCDSConnectionSetupPassword",0],[249,"ext","codeunit",7203,"CheckIfEnvironmentInDifferentTenant",2],[249,"ext","codeunit",7203,"GetGlobalDiscoverabilityOnBehalfTokenAsSecretText",0]]},{"name":"Email.OnValidate","line":333,"kind":"trigger","steps":[[335,"ext","codeunit",7201,"CheckUserName",1]]},{"name":"Password.OnValidate","line":345,"kind":"trigger","steps":[[348,"ext","table",7200,"SetPassword",1]]},{"name":"CoupleSalesPeople.OnDrillDown","line":446,"kind":"trigger","steps":[[451,"ext","table",7200,"SetPassword",1],[453,"ext","table",7200,"SetPassword",1],[453,"call","CurrentCDSConnectionSetupPassword",0],[454,"ext","codeunit",7201,"CheckConnectionRequiredFields",2],[457,"ext","page",7209,"Initialize",1],[460,"call","AddCoupledUsersToDefaultOwningTeam",0]]},{"name":"SynchronizationRecommendations.OnDrillDown","line":497,"kind":"trigger","steps":[[503,"ext","table",7200,"SetPassword",1],[505,"ext","table",7200,"SetPassword",1],[505,"call","CurrentCDSConnectionSetupPassword",0]]},{"name":"InstallVirtualTableApp.OnDrillDown","line":556,"kind":"trigger","steps":[[558,"ext","codeunit",7201,"GetVirtualTablesAppSourceLink",0]]},{"name":"EnableVirtualTablesLbl.OnDrillDown","line":586,"kind":"trigger","steps":[[590,"call","SetupBusinessEvents",0]]},{"name":"ActionBack.OnAction","line":631,"kind":"trigger","steps":[[639,"validate",7200,"Is Enabled"],[640,"write",7200,"Modify",1],[646,"validate",7200,"Is Enabled"],[647,"write",7200,"Modify",1],[652,"call","NextStep",1]]},{"name":"ActionNext.OnAction","line":663,"kind":"trigger","steps":[[672,"call","GetCDSEnvironment",0],[680,"write",7200,"Insert"],[683,"validate",7200,"Client Id"],[685,"ext","table",7200,"SetClientSecret",1],[687,"ext","table",7200,"SetClientSecret",1],[687,"ext","table",7200,"GetSecretClientSecret",0],[688,"validate",7200,"Redirect URL"],[689,"write",7200,"Modify"],[698,"call","ImportCDSSolution",0],[706,"ext","table",7200,"SetPassword",1],[708,"ext","table",7200,"SetPassword",1],[708,"call","CurrentCDSConnectionSetupPassword",0],[709,"ext","codeunit",7201,"TryCheckCredentials",1],[711,"ext","codeunit",7201,"CheckIntegrationUserPrerequisites",5],[719,"write",5373,"DeleteAll"],[720,"ext","table",5373,"Generate",0],[728,"call","ConfigureCDSSolution",0],[730,"write",5373,"DeleteAll"],[731,"ext","table",5373,"Generate",0],[738,"call","NextStep",1],[741,"call","IsVirtualTablesAppInstalled",0]]},{"name":"ActionRefresh.OnAction","line":755,"kind":"trigger","steps":[[757,"call","IsVirtualTablesAppInstalled",0],[758,"call","ShowBusinessEventsStep",0]]},{"name":"ActionFinish.OnAction","line":770,"kind":"trigger","steps":[[781,"call","ConfigureCDSSolution",0],[786,"ext","page",7209,"Initialize",1],[788,"ext","codeunit",1990,"CompleteAssistedSetup",2],[790,"call","AddCoupledUsersToDefaultOwningTeam",0],[795,"run","page",7200],[798,"write",5373,"DeleteAll",1],[799,"ext","table",5373,"Generate",1],[800,"ext","table",5373,"Start",0],[811,"call","SetupBusinessEvents",0],[813,"ext","codeunit",1990,"CompleteAssistedSetup",2],[814,"ext","codeunit",8703,"LogUptake",3],[815,"ext","codeunit",8703,"LogUptake",3]]},{"name":"OnInit","line":823,"kind":"trigger","steps":[[827,"call","LoadTopBanners",0],[828,"ext","codeunit",457,"IsSaaSInfrastructure",0],[829,"ext","codeunit",7201,"GetBusinessEventsSupported",0]]},{"name":"OnOpenPage","line":834,"kind":"trigger","steps":[[847,"ext","codeunit",8703,"LogUptake",3],[848,"ext","codeunit",8703,"LogUptake",3],[849,"ext","table",7200,"EnsureCRMConnectionSetupIsDisabled",0],[858,"ext","table",7200,"GetSecretPassword",0],[859,"ext","table",7200,"SetPassword",1],[863,"ext","table",7200,"GetSecretClientSecret",0],[864,"ext","table",7200,"SetClientSecret",1],[869,"write",7200,"Insert"],[871,"call","InitializeDefaultAuthenticationType",0],[872,"call","InitializeDefaultProxyVersion",0],[876,"ext","codeunit",501,"GetDefaultRedirectUrl",1],[880,"write",7200,"Insert"],[882,"call","EnableControls",0]]},{"name":"OnQueryClosePage","line":885,"kind":"trigger","steps":[[899,"validate",7200,"Is Enabled"],[900,"write",7200,"Modify",1]]},{"name":"GetCDSEnvironment","line":992,"kind":"procedure","access":"local","params":0,"steps":[[1000,"ext","table",7200,"GetDataverseCloudEndpoints",0],[1002,"ext","codeunit",7201,"GetRedirectURL",0],[1006,"ext","codeunit",501,"AcquireOnBehalfOfToken",3],[1007,"ext","codeunit",7203,"SelectTenantEnvironment",3]]},{"name":"LoadTopBanners","line":1010,"kind":"procedure","access":"local","params":0,"steps":[[1012,"ext","codeunit",4030,"GetCurrentClientType",0],[1013,"ext","codeunit",4030,"GetCurrentClientType",0]]},{"name":"NextStep","line":1021,"kind":"procedure","access":"local","params":1,"steps":[[1023,"call","UpdateAvailableStepNumber",1],[1024,"call","EnableControls",0]]},{"name":"UpdateAvailableStepNumber","line":1028,"kind":"procedure","access":"local","params":1,"steps":[[1031,"call","UpdateStepNumber",1],[1032,"call","IsStepAvailable",0]]},{"name":"EnableControls","line":1086,"kind":"procedure","access":"local","params":0,"steps":[[1090,"call","ShowInfoStep",0],[1092,"call","ShowConsentStep",0],[1094,"call","ShowApplicationStep",0],[1096,"call","ShowAdminStep",0],[1098,"call","ShowIntegrationUserStep",0],[1100,"call","ShowOwnershipModelStep",0],[1102,"call","ShowCoupleSalespersonsStep",0],[1104,"call","ShowFullSynchReviewStep",0],[1106,"call","ShowBusinessEventsStep",0]]},{"name":"InitializeDefaultAuthenticationType","line":1275,"kind":"procedure","access":"local","params":0,"steps":[[1277,"validate",7200,"Authentication Type"]]},{"name":"InitializeDefaultProxyVersion","line":1280,"kind":"procedure","access":"local","params":0,"steps":[[1282,"validate",7200,"Proxy Version"],[1282,"ext","codeunit",7201,"GetLastProxyVersionItem",0]]},{"name":"FinalizeBusinessEventsSetup","line":1285,"kind":"procedure","access":"local","params":0,"steps":[[1290,"ext","table",7200,"SetClientSecret",1],[1292,"ext","table",7200,"SetClientSecret",1],[1292,"call","CurrentCDSConnectionSetupClientSecret",0],[1293,"ext","codeunit",7201,"UpdateBusinessEventsSetupFromWizard",1]]},{"name":"FinalizeSynchronizationSetup","line":1296,"kind":"procedure","access":"local","params":0,"steps":[[1302,"ext","table",7200,"SetClientSecret",1],[1304,"ext","table",7200,"SetClientSecret",1],[1304,"call","CurrentCDSConnectionSetupClientSecret",0],[1306,"ext","codeunit",7201,"UpdateConnectionSetupFromWizard",2],[1308,"ext","codeunit",7201,"UpdateConnectionSetupFromWizard",2],[1308,"call","CurrentCDSConnectionSetupPassword",0]]},{"name":"CurrentCDSConnectionSetupClientSecret","line":1311,"kind":"procedure","access":"local","params":0,"steps":[[1316,"ext","table",7200,"GetSecretClientSecret",0]]},{"name":"CurrentCDSConnectionSetupPassword","line":1319,"kind":"procedure","access":"local","params":0,"steps":[[1324,"ext","table",7200,"GetSecretPassword",0]]},{"name":"ConfigureCDSSolution","line":1328,"kind":"procedure","access":"local","params":0,"steps":[[1334,"ext","table",7200,"SetPassword",1],[1336,"ext","table",7200,"SetPassword",1],[1336,"call","CurrentCDSConnectionSetupPassword",0],[1337,"ext","codeunit",7201,"CheckCredentials",1],[1339,"ext","codeunit",7201,"ConfigureIntegrationSolution",7],[1341,"call","FinalizeSynchronizationSetup",0],[1344,"ext","codeunit",7201,"RegisterConnection",2],[1345,"ext","codeunit",7201,"ActivateConnection",0],[1346,"ext","codeunit",7201,"ClearConnectionDisableReason",1],[1347,"ext","table",7200,"EnableIntegrationTables",0]]},{"name":"ImportCDSSolution","line":1354,"kind":"procedure","access":"local","params":0,"steps":[[1360,"ext","codeunit",7201,"ImportIntegrationSolution",7]]},{"name":"AddCoupledUsersToDefaultOwningTeam","line":1364,"kind":"procedure","access":"local","params":0,"steps":[[1366,"ext","codeunit",7201,"AddCoupledUsersToDefaultOwningTeam",2]]},{"name":"IsVirtualTablesAppInstalled","line":1369,"kind":"procedure","access":"local","params":0,"steps":[[1374,"ext","codeunit",7201,"GetTempConnectionSetup",3],[1375,"ext","codeunit",7201,"IsVirtualTablesAppInstalled",1]]},{"name":"SetupBusinessEvents","line":1378,"kind":"procedure","access":"local","params":0,"steps":[[1380,"call","IsVirtualTablesAppInstalled",0],[1388,"ext","codeunit",7201,"SetupVirtualTables",4],[1389,"call","FinalizeBusinessEventsSetup",0]]}]}