Get Coded Value Domain Activity

Description

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

Inputs

Layer

Optional

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

The ArcGIS feature layer containing the field whose domain is of interest. One of Layer, Layer Info, or Url is required.

Layer Info

Optional

Type: Object

The FeatureLayerInfo object containing the layer's fields. One of Layer, Layer Info, or Url is required.

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. One of Layer, Layer Info, or Url is required.

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

Dynamic Layer Definition

Optional

Type: Object

Allows you to specify a dynamic layer that you want to get the coded value domain of. If used, the url input must also be specified and must reference a dynamic layer.

Requires ArcGIS Server v.10.1+.

Source

Optional

Type: Object

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

Requires ArcGIS Server v.10.1+.

Deprecated: Use the Dynamic Layer Definition input to specify a complete dynamic layer instead.

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 host application. See Underlying Technologies for information.

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 host application. See Underlying Technologies for information.

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

In order for this activity to work when the device is offline, the activity must run in one of the following applications:

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