Table of Contents

Page "Agent Setup Part"

ID 4310
Namespace: System.Agents

Setup part that is representing the first page of the configuration dialog

Properties

Name Value
PageType CardPart
ApplicationArea #All
Extensible False
Caption Configure Agent
InstructionalText Choose how the agent helps with inquiries, quotes, and orders.
SourceTable Table System.Agents."Agent Setup Buffer"
RefreshOnActivate True
InherentEntitlements X
InherentPermissions X

Methods

Initialize

procedure Initialize(UserSecurityID: Guid, AgentMetadataProvider: __MissingTypeSymbol__, DefaultUserName: Code[50], DefaultDisplayName: Text[80], NewAgentSummary: Text)

Parameters

Name Type Description
UserSecurityID Guid
AgentMetadataProvider __MissingTypeSymbol__
DefaultUserName Code[50]
DefaultDisplayName Text[80]
NewAgentSummary Text

GetAgentSetupBuffer

Returns the setup buffer from this page that can be used to save the agent configuration. See method in codeunit.

procedure GetAgentSetupBuffer(var AgentSetupBuffer: Record "Agent Setup Buffer" temporary)

Parameters

Name Type Description
AgentSetupBuffer Table System.Agents."Agent Setup Buffer"

The setup buffer that is used for configuring the agent.

SetAgentSetupBuffer

Sets the agent setup buffer as the new record. You need to update the page manually after calling this method.

procedure SetAgentSetupBuffer(var AgentSetupBuffer: Record "Agent Setup Buffer" temporary)

Parameters

Name Type Description
AgentSetupBuffer Table System.Agents."Agent Setup Buffer"

The setup buffer that is used for configuring the agent that will be set as a new record.

SetAgentSummary

Sets the agent summary to the page. You need to update the page manually after calling this method.

procedure SetAgentSummary(NewAgentSummary: Text)

Parameters

Name Type Description
NewAgentSummary Text

The new summary information about the agent.

GetChangesMade

Returns if the changes were made to the setup.

procedure GetChangesMade(): Boolean

Returns

Type Description
Boolean

True if there are changes made, false otherwise.

See also