Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.62 KB

page-promptmode-method.md

File metadata and controls

51 lines (39 loc) · 1.62 KB
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

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 [!INCLUDE prod_short]. For more information, see PromptDialog page type.

See Also

Page Data Type
Getting Started with AL
Developing Extensions