title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
Page.PromptMode([PromptMode]) Method |
The mode of a PromptDialog page that prompts the user for input and shows the output of a copilot interaction. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
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.
[PromptMode := ] Page.PromptMode([NewPromptMode: PromptMode])
Note
This method can be invoked using property access syntax.
Page
Type: Page
An instance of the Page data type.
[Optional] NewPromptMode
Type: PromptMode
The new prompt mode.
[Optional] PromptMode
Type: PromptMode
The prompt mode used for the page.
This method is used when creating a generative AI dialog in [!INCLUDE prod_short]. For more information, see PromptDialog page type.
Page Data Type
Getting Started with AL
Developing Extensions