Description
The Get Form Element Items From Collection activity converts a collection into an items collection suitable for use in forms.
Usage
You may have items in a collection you want to use to populate a form element item. You could populate a Drop Down List form element from a collection using the Get Form Element Items From Collection activity in conjunction with the Set Form Element Items activity.
Inputs
Collection |
Required Type: any[] The collection to be converted to the items collection. |
Label Field Name |
Optional Type: String The name of the field used to populate the items' labels. If not provided, the item itself will be used as the label. |
Value Field Name |
Optional Type: String The name of the feature field used to populate the items' values. If not provided, the item itself is used in a DataRef object. |
Outputs
items |
Type: Lookup<Item> The result items collection. |
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.