Refresh Layer Activity

Description

The Refresh Layer activity refreshes the specified map layer. Depending on the type of layer this may fetch updated data or imagery from the service and redraw the layer.

Usage

A workflow may change map data by interacting directly with a feature service causing the user's current map to become out of date. This activity allows you to force a refresh of a map layer so that it shows the latest data. For example, the Feature Editing activities perform edits directly on ArcGIS feature services. The user's map won't reflect those edits until the layer that was edited is refreshed.

Inputs

Layer

Required

Type: esri.Layer (3.x, 4.x)* | Number

The map layer to refresh.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

This activity has no outputs.

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

In order for this activity to work when the device is offline, the activity must run in one of the following applications:

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, Web AppBuilder for ArcGIS 2.4 (2D only).

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.13