Get Coded Value Domain Activity

Description

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

Offline Support

Offline support for this activity depends on which input you use, Layer Info or Url:

Inputs

Layer Info

Optional

Type: Object

The FeatureLayerInfo object containing the layer's fields.

Type

Optional

Type: String

The name of the feature type whose domain is of interest.

Field

Optional

Type: String

The name of the field whose domain is of interest.

Url

Optional

Type: String

The URL to the ArcGIS feature layer containing the domain.

For example, http://server/arcgis/rest/services/<serviceName>/MapServer/<layerOrTableId> or http://server/arcgis/rest/services/<serviceName>/FeatureServer/<layerOrTableId>.

Source

Optional

Type: esri.FeatureLayerSource (3.x, 4.x)*

The layer source used with a dynamic layer. If used, the url input must also be specified and reference a dynamic layer.

For example, http://server/arcgis/rest/services/<serviceName>/MapServer/dynamicLayer.

Requires ArcGIS Server v.10.1+.

Timeout

Optional

Type: Number

The timeout for the request.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Outputs

domain

Type: esri.CodedValueDomain (3.x, 4.x)*

The coded value domain.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

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