Redaguoti

Bendrinti naudojant


Page.PromptMode([PromptMode]) Method

Version: Available or changed with runtime version 12.1.

The mode of a PromptDialog page that prompts the user for input and shows the output of a copilot interaction.

Syntax

[PromptMode := ]  Page.PromptMode([NewPromptMode: PromptMode])

Note

This method can be invoked using property access syntax.

Parameters

Page
 Type: Page
An instance of the Page data type.

[Optional] NewPromptMode
 Type: PromptMode
The new prompt mode.

Return Value

[Optional] PromptMode
 Type: PromptMode
The prompt mode used for the page.

Remarks

This method is used when creating a generative AI dialog in Business Central. For more information, see PromptDialog page type.

Page Data Type
Getting Started with AL
Developing Extensions