Get Coded Value Domain Activity

Description

Gets the coded value domain values for a field on a layer or for a record in a table.

Inputs

Layer

Optional

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

The ArcGIS feature layer or table 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 or table's fields. One of Layer, Layer Info, or Url is required.

Type

Optional

Type: String

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

Field

Required

Type: String

The name of the field whose domain is of interest.

Url

Optional

Type: String

The URL to the ArcGIS feature layer or table containing the domain. One of Layer, Layer Info, or Url is required.

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

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.

* VertiGIS Studio 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.

* VertiGIS Studio 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

Web

Mobile

Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

Connectivity Requirements

For this activity to work when the device has intermittent connectivity to the network, the activity must run in the following application:

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.