Set Layer Definition Expression Activity

Description

Set Layer Definition Expression activity sets the definition expression used by a layer.

Inputs

Layer Id

Required

Type: String | Number

The ID of the layer whose definition is of interest.

If the workflow will run in Geocortex Web, Geocortex 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 if the service only has one layer. If the service has more than one layer, also set Sublayer Id to the layer ID. Get the map service ID and layer ID from Geocortex Essentials Manager or from the Geocortex Essentials Sites Directory.

Sublayer Id

Optional

Type: String | Number

The optional index of the sublayer whose definition is of interest.

Expression

Required

Type: String

The layer definition expression.

For example, POPULATION > 100000.

Outputs

oldExpression

Type: String

The previous layer definition expression.

newExpression

Type: String

The new layer definition expression.

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

This activity works when the device is offline.

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.14