{"title":"Page 1275 Doc. Exch. Service Setup, extension points 29","url":"https://jonas-paprotka.de/ref/page/1275-doc-exch-service-setup/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-05","object":{"type":"page","id":1275,"name":"Doc. Exch. Service Setup","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/1275-doc-exch-service-setup/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/1275-doc-exch-service-setup/source/","path":"src/Layers/W1/BaseApp/eServices/EDocument/DocExchServiceSetup.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:1275":{"name":"Doc. Exch. Service Setup","url":"https://jonas-paprotka.de/ref/table/1275-doc-exch-service-setup/"},"codeunit:1410":{"name":"Doc. Exch. Service Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1410-doc-exch-service-mgt/"},"table:710":{"name":"Activity Log","url":"https://jonas-paprotka.de/ref/table/710-activity-log/"},"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/"},"page:9905":{"name":"Data Encryption Management","url":"https://jonas-paprotka.de/ref/page/9905-data-encryption-management/"}},"procs":[{"name":"Sandbox.OnValidate","line":46,"kind":"trigger","steps":[[48,"ext","table",1275,"SetURLsToDefault",1],[49,"ext","codeunit",1410,"GetAppUrl",1],[51,"ext","codeunit",1410,"SendActivateAppNotification",0]]},{"name":"Enabled.OnValidate","line":58,"kind":"trigger","steps":[[60,"ext","table",1275,"IsEnabledChanged",0],[62,"call","UpdateBasedOnEnable",0]]},{"name":"Token Expired.OnDrillDown","line":84,"kind":"trigger","steps":[[92,"ext","codeunit",1410,"RenewToken",1]]},{"name":"Sign-in URL.OnValidate","line":112,"kind":"trigger","steps":[[114,"ext","codeunit",1410,"GetAppUrl",1]]},{"name":"Service URL.OnValidate","line":131,"kind":"trigger","steps":[[133,"ext","codeunit",1410,"IsSandbox",1]]},{"name":"Client Id.OnValidate","line":166,"kind":"trigger","steps":[[178,"ext","table",1275,"SetAccessToken",1],[179,"ext","table",1275,"SetRefreshToken",1],[186,"ext","codeunit",1410,"GetAppUrl",1],[187,"ext","codeunit",1410,"SendActivateAppNotification",0]]},{"name":"Client Secret.OnValidate","line":198,"kind":"trigger","steps":[[206,"call","CheckEncryption",0],[207,"ext","table",1275,"SetClientSecret",1]]},{"name":"SetURLsToDefault.OnAction","line":232,"kind":"trigger","steps":[[234,"ext","table",1275,"SetURLsToDefault",1],[235,"ext","codeunit",1410,"GetAppUrl",1]]},{"name":"RenewToken.OnAction","line":245,"kind":"trigger","steps":[[249,"ext","codeunit",1410,"RenewToken",1]]},{"name":"TestConnection.OnAction","line":261,"kind":"trigger","steps":[[263,"ext","table",1275,"CheckConnection",0]]},{"name":"JobQueueEntry.OnAction","line":276,"kind":"trigger","steps":[[278,"ext","table",1275,"ShowJobQueueEntry",0]]},{"name":"ActivityLog.OnAction","line":300,"kind":"trigger","steps":[[304,"ext","table",710,"ShowEntries",1]]},{"name":"OnAfterGetCurrRecord","line":342,"kind":"trigger","steps":[[344,"call","UpdateBasedOnEnable",0],[345,"call","SetStyleExpr",0]]},{"name":"OnOpenPage","line":353,"kind":"trigger","steps":[[359,"ext","codeunit",8703,"LogUptake",3],[359,"ext","codeunit",1410,"GetFeatureTelemetryName",0],[362,"ext","table",1275,"SetURLsToDefault",1],[363,"write",1275,"Insert",1],[365,"ext","codeunit",1410,"IsSandbox",1],[366,"ext","codeunit",1410,"GetAppUrl",1],[367,"call","SetClientSecretGlobal",0],[369,"ext","codeunit",1410,"GetDefaultRedirectUrl",0],[370,"ext","table",1275,"SetDefaultRedirectUrl",0],[371,"write",1275,"Modify"],[373,"call","UpdateBasedOnEnable",0],[376,"ext","codeunit",1410,"SendRenewTokenNotification",0],[380,"ext","codeunit",1410,"GetClientId",1],[382,"ext","codeunit",1410,"SendActivateAppNotification",0]]},{"name":"OnInit","line":385,"kind":"trigger","steps":[[389,"ext","codeunit",457,"IsSaaSInfrastructure",0],[393,"ext","codeunit",1410,"HasPredefinedOAuth2Params",0]]},{"name":"SetStyleExpr","line":430,"kind":"procedure","access":"local","params":0,"steps":[[433,"call","GetStyleExpr",1]]},{"name":"CheckEncryption","line":443,"kind":"procedure","access":"local","params":0,"steps":[[448,"run","page",9905]]},{"name":"SetClientSecretGlobal","line":455,"kind":"procedure","access":"local","params":0,"steps":[[457,"ext","table",1275,"GetClientSecretAsSecretText",0]]}]}