Confirm Activity

Description

Presents a confirmation prompt in a modal dialog to the user. The user must choose to accept or reject the confirmation by clicking the OK or Cancel button. The activity returns a value indicating the user's choice.

Usage

You may perform a destructive operation, such as deleting a record. It is a good practice to provide the user with an opportunity to confirm that they want to complete the operation.

Inputs

Text

Required

Type: String

The message to display in the confirmation dialog.

Title

Optional

Type: String

The title to display in the confirmation dialog.

Outputs

result

Type: Boolean

The result of the confirmation dialog (true or false).

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

Web

Mobile

Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

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