Set Layer Property Activity

Description:

Sets the value of a layer property in a client application.

Inheritance Hierarchy:

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

Function:

This activity allows a workflow to set the value of an arbitrary property of a layer in the user’s map.

The property name must correspond to a public, writable property of a layer. The value supplied must match the type of the property.

In a Workflow:

You can use this activity to set the value of any publicly available property, such as the layer's "Identifiable", "showMapTips", or "featureLabel" property.

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 property will be obtained.

Layer Name

The name of the Geocortex layer whose property will be obtained. If a Layer ID is also supplied the ID will be preferred over the name.

Property Name

The name of the Geocortex layer property whose value will be set.

Value

The value to apply to the layer property.

Misc

Display Name

SetLayerProperty

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.

Version Information:

Supported from: Geocortex Essentials 3.15, Geocortex Viewer for Silverlight 1.10, Geocortex Viewer for HTML5 1.3.