addListItem
Adds an item to a Collection. Essentially the same as addItem, but should the item value be a Data item, it is placed into a new Collection and this Collection then becomes the added item.
Parent commands
setCollection
Required. The Collection created by this parent command receives the item.
The addItem command is the recommended way of adding items to Collections. Unless your logic needs the feature of Data items getting wrapped into Collections, please consider using addItem
instead.
Attributes
value | ||
---|---|---|
Required | Value type | EL-evaluated |
Yes | Any | Yes |
The resolved value of this attribute is the new item for the Collection. If the resolved value is a Data item, a new Collection is created and the Data item placed into it, and this Collection then becomes the new item for the parent Collection. |