Get Layer Definition Activity

Description:

Gets the definition expression of a layer in a client application.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      Geocortex.Workflow.Activities.ExternalActivityBase
        Geocortex.Workflow.Activities.GetLayerDefinition

Function:

This activity allows a workflow to obtain layer definition expressions from the user’s map. ArcGIS Dynamic Map Service layers and Feature Layers are supported.

In a Workflow:

You would use this activity if you need to obtain the definition expression currently applied to a layer in the user’s map.

Properties:

Name Description

In Arguments

Map Service Id

The id of the Geocortex map service that contains the layer.

Layer Id

The id of the Geocortex layer whose definition expression will be obtained.

Layer Name

The name of the Geocortex layer whose definition expression will be obtained. If a Layer Id is also supplied the Id will be preferred.

Misc

Display Name

GetLayerDefinition

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

External Id

An activity handler within a client can reference this particular activity using this external identifier.

Out Arguments

Definition

The layer definition expression.

Version Information:

Supported from: Geocortex Essentials 4.1, Geocortex Viewer for Silverlight 2.1, Geocortex Viewer for HTML5 2.1.