{"title":"Page 4315 Agent Card, extension points 29","url":"https://jonas-paprotka.de/ref/page/4315-agent-card/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":4315,"name":"Agent Card","app":"System Application","url":"https://jonas-paprotka.de/ref/page/4315-agent-card/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/4315-agent-card/source/","path":"src/System Application/App/Agent/Setup/AgentCard.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":{"codeunit:4321":{"name":"Agent","url":"https://jonas-paprotka.de/ref/codeunit/4321-agent/"},"codeunit:9176":{"name":"User Settings","url":"https://jonas-paprotka.de/ref/codeunit/9176-user-settings/"},"page:4317":{"name":"Agent User Settings","url":"https://jonas-paprotka.de/ref/page/4317-agent-user-settings/"},"page:4337":{"name":"Agent Archive Confirmation","url":"https://jonas-paprotka.de/ref/page/4337-agent-archive-confirmation/"},"page:4300":{"name":"Agent Task List","url":"https://jonas-paprotka.de/ref/page/4300-agent-task-list/"},"codeunit:2000000022":{"name":"Agent Utilities","url":"https://jonas-paprotka.de/ref/codeunit/2000000022-agent-utilities/"},"codeunit:4317":{"name":"Agent System Permissions","url":"https://jonas-paprotka.de/ref/codeunit/4317-agent-system-permissions/"},"codeunit:4301":{"name":"Agent Impl.","url":"https://jonas-paprotka.de/ref/codeunit/4301-agent-impl/"}},"procs":[{"name":"AgentProfile.OnAssistEdit","line":72,"kind":"trigger","steps":[[79,"ext","codeunit",4321,"ProfileLookup",1],[80,"ext","codeunit",4321,"SetProfile",3]]},{"name":"Language.OnAssistEdit","line":90,"kind":"trigger","steps":[[94,"ext","codeunit",9176,"GetUserSettings",2],[96,"run","page",4317]]},{"name":"State.OnValidate","line":109,"kind":"trigger","steps":[[111,"call","ChangeState",0],[112,"call","UpdateControls",0]]},{"name":"ArchiveAgent.OnAction","line":149,"kind":"trigger","steps":[[154,"ext","codeunit",4321,"IsArchivingSupported",1],[161,"ext","page",4337,"SetAgentDisplayName",1],[163,"ext","page",4337,"IsConfirmed",0],[166,"ext","codeunit",4321,"Archive",1]]},{"name":"AgentSetup.OnAction","line":182,"kind":"trigger","steps":[[184,"call","OpenSetupPage",0]]},{"name":"UserSettingsAction.OnAction","line":195,"kind":"trigger","steps":[[200,"ext","codeunit",9176,"GetUserSettings",2],[202,"run","page",4317]]},{"name":"AgentTasks.OnAction","line":212,"kind":"trigger","steps":[[217,"run","page",4300]]},{"name":"OnOpenPage","line":238,"kind":"trigger","steps":[[243,"ext","codeunit",2000000022,"BlockPageFromBeingOpenedByAgent",0],[245,"ext","codeunit",4317,"CurrentUserCanManageAgent",1]]},{"name":"UpdateControls","line":249,"kind":"procedure","access":"local","params":0,"steps":[[255,"ext","codeunit",9176,"GetUserSettings",2],[256,"ext","codeunit",9176,"GetProfileName",1],[259,"ext","codeunit",4301,"GetCopilotAvailabilityDisplayText",1]]},{"name":"ChangeState","line":265,"kind":"procedure","access":"local","params":0,"steps":[[284,"call","OpenSetupPage",0]]},{"name":"OnAfterGetCurrRecord","line":287,"kind":"trigger","steps":[[289,"call","UpdateControls",0],[290,"call","SendArchivedNotificationIfNeeded",0]]},{"name":"OpenSetupPage","line":311,"kind":"procedure","access":"local","params":0,"steps":[[315,"ext","codeunit",4321,"OpenSetupPageId",2]]}]}