---
id: object/page/4356
type: object
title: Page 4356 "Agent Import Wizard"
summary: Page 4356 "Agent Import Wizard" in AgentDesignExperience (System.Agents.Designer.CustomAgent). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - agentdesignexperience
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 326bba9b03ff21a8374c1fa736e15b897f832ca6954847774dca719bc12791d2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/AgentDesignExperience/app/CustomAgent/Import/AgentImportWizard.Page.al
    title: src/Apps/W1/AgentDesignExperience/app/CustomAgent/Import/AgentImportWizard.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 4356
name: Agent Import Wizard
caption: Import agents (Preview)
namespace: System.Agents.Designer.CustomAgent
app: AgentDesignExperience
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 13
  events: 0
  subscribers: 0
  controls: 12
  actions: 4
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Page 4356 "Agent Import Wizard"

> Page 4356 "Agent Import Wizard" in AgentDesignExperience (System.Agents.Designer.CustomAgent). Introduced in BC29, still in BC30.

AgentDesignExperience · System.Agents.Designer.CustomAgent · captioned "Import agents (Preview)" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/AgentDesignExperience/app/CustomAgent/Import/AgentImportWizard.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Import agents (Preview) |
| Extensible | false |
| SourceTable | Agent Import Buffer |
| PageType | NavigatePage |
| UsageCategory | Administration |
| ApplicationArea | All |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Control1 | Selected | [Selected](../table/4353.md#fields) | Specifies that the agent from the XML file will be imported. |
|  | Action | [Action](../table/4353.md#fields) | Specifies whether to add a new agent or replace an existing one. Replace is only available for agents that already exist in the system. |
|  | Exists | `ExistsOption` | Specifies whether an agent with the same name already exists in the system. |
|  | Name | [Name](../table/4353.md#fields) | Specifies the name of the agent to be imported. |
|  | Display Name | [Display Name](../table/4353.md#fields) | Specifies the display name of the agent to be imported. |
|  | Initials | [Initials](../table/4353.md#fields) | Specifies the initials of the agent to be imported. |
|  | Description | [Description](../table/4353.md#fields) | Specifies the description of the agent to be imported. |
|  | Instructions | `InstructionsLbl` | Specifies the agent instructions that will be imported. Click to view the full instructions. |
|  | Validation Status | `ValidationStatusText` | Specifies validation status for this agent. |
| ImportedAgentsRepeater | Initials | [Initials](../table/4353.md#fields) | Specifies the initials of the imported agent. |
|  | Display Name | [Display Name](../table/4353.md#fields) | Specifies the display name of the imported agent. |
|  | State | [State After Import](../table/4353.md#fields) | Specifies the state of the imported agent. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Back | Return to previous step |  |
|  | Select XML File | Select an agent XML file to be imported. |  |
|  | Import | Import the selected agents into the database. |  |
|  | Done | Close the wizard. |  |

## Procedures

13 local procedures, no public ones.

## Triggers

OnOpenPage, OnAfterGetRecord, OnAfterGetCurrRecord

## Relations

- source table [Table 4353 "Agent Import Buffer"](../table/4353.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (2 calls: `LoadAgentsFromXml → CreateInStream`, `LoadAgentsFromXml → HasValue`)
- [Codeunit 4356 "Custom Agent Import"](../codeunit/4356.md) (2 calls: `LoadAgentsFromXml → CollectAgentsFromXml`, `UpdateControlsForCurrentRecord → GetDiagnostics`)
- [Codeunit 4353 "Agent Designer Environment"](../codeunit/4353.md) (1 call: `OnOpenPage → VerifyCanRunOnCurrentEnvironment`)
- [Codeunit 4355 "Custom Agent Export"](../codeunit/4355.md) (1 call: `LoadAgentsFromXml → GetEncoding`)
- [Codeunit 4362 "Agent Designer Permissions"](../codeunit/4362.md) (1 call: `OnOpenPage → VerifyCurrentUserCanImportCustomAgents`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Agent Import Wizard")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
