Prompt Activity

Description

Presents a modal dialog with an optional message prompting the user to input some text. The user may provide a text value and then click the OK or Cancel button. The activity returns the user supplied text.

Usage

The Prompt activity provides a simple way to ask the user a question. For example, "What is your name?"

Inputs

Default Text

Optional

Type: String

The default text of the prompt input.

Description

Required

Type: String

The message to display in the prompt dialog.

Title

Optional

Type: String

The title to display in the prompt dialog.

Outputs

result

Type: String

The result of the prompt dialog.

If the user clicked the Cancel button the result will be Null.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

See also...

Example 1 - Verbose Log for Prompt and Confirm Activities