Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Set Application Data Activity

Prev Top Next More

Description

The Set Application Data activity sets data in the application that can later be retrieved by the Get Application Data activity. The data set by this activity can be used by all workflows in the application until the application reloads or closes.

Usage

You may want to use this activity to share information between workflows within the application. You could use the Set Application Data activity to set data, like a geometry, in the application. You could then use the Get Application Data activity in another workflow to retrieve that geometry and use it within that workflow.

Inputs

Key

Required

Type: String

The unique key for the data you would like to store.

Use this key in the Get Application Data activity to retrieve the stored data.

Visibility

Optional

Type: "memory" | "application" | "global" | String

How the data is shared with other applications. Use "global" when the value needs to be shared between several runs of any application. Use "application" when the value needs to be used in several runs of the current application. Use "memory" when the value only needs to be used in the current run of the current application. The default value is "memory".

The following table shows the scope (how widely visible the data is) and lifetime (how long the data exists) for each of the options.


memory

application

global

Scope

Current Application

Current Application

All Applications

Lifetime

Session

Permanent

Permanent

Do not store sensitive information with "application" or "global" visibility.

Value

Required

Type: any

The data you would like to store.

Outputs

This activity has no outputs.

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.

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (58a5caf5)