The Get Form Element Items From Collection activity converts a collection into an items collection suitable for use in forms.
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.
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. |
items |
Type: Lookup<Item> The result items collection. |
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
This activity works when the device has intermittent connectivity to the network.
Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.