---
title: "Page 4315 Agent Card, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/4315-agent-card/points/
object: https://jonas-paprotka.de/ref/page/4315-agent-card/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/page/4315-agent-card/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Page 4315 Agent Card, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/4315-agent-card/points/

12 procedures and triggers with a step in src/System Application/App/Agent/Setup/AgentCard.Page.al, in source order, read from the text, not from a run.

## AgentProfile.OnAssistEdit

[Line 72](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L72), trigger.

- [79](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L79) calls [Codeunit 4321 Agent](https://jonas-paprotka.de/ref/codeunit/4321-agent/) `ProfileLookup`
- [80](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L80) calls [Codeunit 4321 Agent](https://jonas-paprotka.de/ref/codeunit/4321-agent/) `SetProfile`

## Language.OnAssistEdit

[Line 90](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L90), trigger.

- [94](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L94) calls [Codeunit 9176 User Settings](https://jonas-paprotka.de/ref/codeunit/9176-user-settings/) `GetUserSettings`
- [96](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L96) runs [Page 4317 Agent User Settings](https://jonas-paprotka.de/ref/page/4317-agent-user-settings/)

## State.OnValidate

[Line 109](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L109), trigger.

- [111](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L111) calls `ChangeState`
- [112](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L112) calls `UpdateControls`

## ArchiveAgent.OnAction

[Line 149](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L149), trigger.

- [154](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L154) calls [Codeunit 4321 Agent](https://jonas-paprotka.de/ref/codeunit/4321-agent/) `IsArchivingSupported`
- [161](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L161) calls [Page 4337 Agent Archive Confirmation](https://jonas-paprotka.de/ref/page/4337-agent-archive-confirmation/) `SetAgentDisplayName`
- [163](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L163) calls [Page 4337 Agent Archive Confirmation](https://jonas-paprotka.de/ref/page/4337-agent-archive-confirmation/) `IsConfirmed`
- [166](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L166) calls [Codeunit 4321 Agent](https://jonas-paprotka.de/ref/codeunit/4321-agent/) `Archive`

## AgentSetup.OnAction

[Line 182](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L182), trigger.

- [184](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L184) calls `OpenSetupPage`

## UserSettingsAction.OnAction

[Line 195](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L195), trigger.

- [200](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L200) calls [Codeunit 9176 User Settings](https://jonas-paprotka.de/ref/codeunit/9176-user-settings/) `GetUserSettings`
- [202](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L202) runs [Page 4317 Agent User Settings](https://jonas-paprotka.de/ref/page/4317-agent-user-settings/)

## AgentTasks.OnAction

[Line 212](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L212), trigger.

- [217](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L217) runs [Page 4300 Agent Task List](https://jonas-paprotka.de/ref/page/4300-agent-task-list/)

## OnOpenPage

[Line 238](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L238), trigger.

- [243](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L243) calls [Codeunit 2000000022 Agent Utilities](https://jonas-paprotka.de/ref/codeunit/2000000022-agent-utilities/) `BlockPageFromBeingOpenedByAgent`
- [245](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L245) calls [Codeunit 4317 Agent System Permissions](https://jonas-paprotka.de/ref/codeunit/4317-agent-system-permissions/) `CurrentUserCanManageAgent`

## UpdateControls

[Line 249](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L249), local.

- [255](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L255) calls [Codeunit 9176 User Settings](https://jonas-paprotka.de/ref/codeunit/9176-user-settings/) `GetUserSettings`
- [256](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L256) calls [Codeunit 9176 User Settings](https://jonas-paprotka.de/ref/codeunit/9176-user-settings/) `GetProfileName`
- [259](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L259) calls [Codeunit 4301 Agent Impl.](https://jonas-paprotka.de/ref/codeunit/4301-agent-impl/) `GetCopilotAvailabilityDisplayText`

## ChangeState

[Line 265](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L265), local.

- [284](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L284) calls `OpenSetupPage`

## OnAfterGetCurrRecord

[Line 287](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L287), trigger.

- [289](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L289) calls `UpdateControls`
- [290](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L290) calls `SendArchivedNotificationIfNeeded`

## OpenSetupPage

[Line 311](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L311), local.

- [315](https://jonas-paprotka.de/ref/page/4315-agent-card/source/#L315) calls [Codeunit 4321 Agent](https://jonas-paprotka.de/ref/codeunit/4321-agent/) `OpenSetupPageId`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
