Get Form Element Items From Collection Activity

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.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

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