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

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

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15