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. Implementation of this activity is different between TypeScript and .NET versions. The TypeScript version uses a "DataRef" wrapper around the feature, while the .NET version puts the feature directly in the value. When using .NET Workflow and the Value Field Name is not provided, the value is the object itself. See Underlying Technologies. |
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.