Description
Obtains an attribute value from a FeatureSet, Graphic or collection of Graphics.
Inputs
Features |
Required Type: esri.Graphic (3.x, 4.x)* | esri.FeatureSet (3.x, 4.x)* | esri.Graphic[] (3.x, 4.x)* The feature set or collection of graphics to search for the attribute. |
Attribute |
Required Type: String The name of the attribute to get. |
Index |
Optional Type: Number The zero-based index of the feature to get the attribute from. If not specified, the first feature will be used. |
* 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
feature |
Type: esri.Graphic (3.x, 4.x)* The feature containing the first assigned attribute. |
value |
Type: any The value of the specified attribute for the first feature. |
* 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
This activity works when the device is offline.
Version Information
Supported from: Geocortex Viewer for HTML5 2.9, Web AppBuilder for ArcGIS 2.4.
See Also...
Use an Activity to Access a Feature’s Components