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.

Offline Support

In order for this activity to work when the device is offline, the application must run in the Geocortex Mobile App Framework with an offline map that includes the layer.

Inputs

Layer

Required

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

The map layer to refresh.

Outputs

This activity has no outputs.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Version Information

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

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9