Building an Array or List of ItemsLast Updated: 12/03/2015 Introduced in Verision: 2.0
The Array Builder is a simple way to aggregate multiple variables into single input. It can be found in the Mapping Editor, under the input type Build Array.
Our form consists of a single Simple List field called User List. This component is found under the List category in the form Toolbox.
To create the list of items that will fill this form field, open the Mapping Editor for [Form] Display List Form, and change the User List input type from Unknown to Build Array.
Once Build Array is selected, the Mapping Editor automatically creates our first list item (also called an array element), but its initial type is unknown. We want to create our items here in the Mapping Editor, so change the input type to Constant and enter a name.
Our requirements state that there will be two constant names, so we must add an item to our list for the second. Click Build Array again to show the type context menu for UserList, and click Add Item.
This creates a second item in our list which we will change to Constant and give a name.
This completes our array. If required, we could continue to add items to our list, or delete them.