Set Layer Property Activity


The Set Layer Property activity sets the value of an arbitrary layer property.

Offline Support

This activity works when the device is offline.


Layer Id


Type: String | Number

The ID of the layer whose property is of interest.



Type: String

The name of the property of interest. This name is case-sensitive.

Refer to the Esri documentation for a list of property names for specific layer types, for example, dynamic layers (3.x 4.x)* or feature layers (3.x 4.x). To see the property names for other layer types, follow the link in the Subclasses section of the Layer page (3.x 4.x). The Layer page also lists the properties that are common to all layer types (3.x 4.x).



Type: any

The value for the property to set.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.



Type: any

The previous property value.


Type: any

The new property value.


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.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.11