Get Coded Value Domain Activity

Description:

Gets the coded value domain values for a field on a layer.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      Geocortex.Workflow.Activities.GetCodedValueDomain

Function:

This activity performs an HTTP request to an ArcGIS Server layer to obtain an IDictionary<object,string> result that contains the specified field's coded value domain information. The dictionary keys represent the codes, and the dictionary values represent the textual names.

In a Workflow:

You would use this activity to obtain the coded value domain information for a field. You could then use the ListToDataItemList activity to transform the domain values into an IEnumerable<DataItem> that could be passed to a DisplayForm activity and used to populate a ComboBox or ListBox form item.

You can optionally use the Feature Type Name argument to restrict results to a particular feature type.

Properties:

Name Description

In Arguments

Credentials

The network credentials that are sent to the host and used to authenticate the request.

Feature Layer Url

The URL of the ArcGIS Server feature layer. For example: http://server/arcgis/rest/services/<serviceName>/MapServer/<layerId> or http://server/arcgis/rest/services/<serviceName>/FeatureServer/<layerId>.

Feature Type Name

The name of the feature type to obtain coded value domain information for.

If this value is provided the domain information will only include the values that apply to the specified feature type.

Field Name

The name of the field that you want to obtain coded value domain information about.

Proxy Url

The URL to proxy the request through.

Source

The layer source to use with a dynamic layer. The Feature Layer Url must also reference a dynamic layer. For example: http://server/arcgis/rest/services/<serviceName>/MapServer/dynamicLayer.

Token

The token for accessing a secure ArcGIS Server resource.

Misc

Display Name

GetCodedValueDomain

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.

Out Arguments

DataItem List

The result represented as a list of DataItems.

Result

The result dictionary of key/value (code/name) pairs containing the coded value domain values.

Version Information:

Supported from: Geocortex Essentials 3.11.