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.
Supported Environments
Environments capable of running this activity
Server
|
Client |
|||
Geocortex Web |
Geocortex Mobile |
Geocortex Viewer for HTML5 |
Web AppBuilder |
|
---|---|---|---|---|
|
|
|
|
|
Offline Support
This activity works when the device is offline.
Version Information
Supported from: Geocortex Viewer for HTML5 2.9, Web AppBuilder for ArcGIS 2.4.
See Also...
Example 1 - Verbose Log for Prompt and Confirm Activities