codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 4350 "Custom Agent Setup"

AgentDesignExperience · System.Agents.Designer.CustomAgent

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 10 connected objects and pages

Page 4350 "Custom Agent Setup" (calls, 5 links)Custom Agent SetupCodeunit 4321 "Agent" (calls, 4 links)AgentCodeunit 4356 "Custom Agent Import" (calls, 3 links)Custom Agent ImportCodeunit 4358 "Custom Agent Metadata Provider" (calls, 3 links)Custom Agent Metadata ProviderCodeunit 7773 "Copilot Capability" (calls, 2 links)Copilot CapabilityCodeunit 4324 "Agent Setup" (calls)Agent SetupCodeunit 4354 "Agent Designer Install" (calls)Agent Designer InstallCodeunit 4362 "Agent Designer Permissions" (calls)Agent Designer PermissionsCodeunit 457 "Environment Information" (calls)Environment InformationPage 4351 "Custom Agents Wizard" (calls)Custom Agents Wizard

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

AgentDesignExperience · System.Agents.Designer.CustomAgent · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal

Event subscriptions

  • OnRegisterCopilotCapability subscribes to Page “Copilot AI Capabilities” OnRegisterCopilotCapability
  • CleanupCustomAgentSetup subscribes to Table “Agent” OnAfterDeleteEvent

Procedures

  • GetDefaultInitials(): Text[4]
  • GetAgentType(): Text
  • GetAccessControl(AgentUserSecurityID: Guid; var TempAccessControlBuffer: Record "Access Control Buffer" temporary)
  • GetDefaultProfile(var TempAllProfile: Record "All Profile" temporary)
  • UpdateAgent(var AgentSetupBuffer: Record "Agent Setup Buffer"; var TempAccessControlBuffer: Record "Access Control Buffer" temporary)
  • UpdateAccessControl(AgentUserSecurityId: Guid; var TempAccessControlBuffer: Record "Access Control Buffer" temporary)
  • CreateAgent(var TempAgent: Record Agent; var TempAgentAccessControl: Record "Agent Access Control" temporary; var TempAccessControlBuffer: Record "Access Control Buffer" temporary)
  • CreateAgent(AgentUserName: Code[50]; AgentDisplayName: Text[80]; var TempAgentAccessControl: Record "Agent Access Control" temporary; var TempAccessControlBuffer: Record "Access Control Buffer" temporary; Initials: Text[4]): Guid
  • CreateAgent(AgentUserName: Code[50]; AgentDisplayName: Text[80]; var TempAgentAccessControl: Record "Agent Access Control" temporary; var TempAccessControlBuffer: Record "Access Control Buffer" temporary; Initials: Text[4]; Description: Text[250]; Instructions: Text): Guid
  • CreateCustomAgentSetup(AgentUserSecurityID: Guid; Initials: Text[4]; Description: Text[250]; Instructions: Text)
  • OpenEditInstructionsPage(AgentSecurityId: Guid)
  • GenerateInitialsFromName(AgentName: Text[50]): Code[4]
  • RegisterCapability()

Plus 4 local procedures.

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.

Called by

Recent changes

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: "codeunit", object_name: "Custom Agent Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources