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. |
* 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:
Geocortex Mobile
The app must have a map area that includes the feature layer or table.
You must use the Layer input to specify the layer or table, not the Url input.
Geocortex Mobile App Framework
The app must have an offline map that includes the feature layer or table.
Geocortex Mobile App Framework does not support the following input:
Version Information
Supported from: Geocortex Viewer for HTML5 2.9, Web AppBuilder for ArcGIS 2.4.