Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Set Layer Property Activity

Prev Top Next More

Description

The Set Layer Property activity sets the value of an arbitrary property of a layer in the currently selected map.

Inputs

Layer Id

Required

Type: String | Number

The ID of the layer in the currently selected map whose property is of interest.

If the workflow will run in VertiGIS Studio Web, VertiGIS Studio Mobile, or Web AppBuilder, you can either set Layer Id to the ID from the layer object or to the layer name from the web map.

To run the workflow in the Geocortex Viewer for HTML5, set Layer Id to the map service ID. Get the map service ID from Geocortex Essentials Manager or from the Geocortex Essentials Sites Directory.

Name

Required

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.x4.x)* or feature layers (3.x4.x). To see the property names for other layer types, follow the link in the Subclasses section of the Layer page (3.x4.x). The Layer page also lists the properties that are common to all layer types (3.x4.x).

Value

Required

Type: any

The value for the property to set.

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

Outputs

oldValue

Type: any

The previous property value.

newValue

Type: any

The new property value.

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 (220a4365)