setCollection
Creates a variable with a new Collection as its value.
Parent commands
setCollection
Optional. IfsetCollection
is a child command of another of its kind, the created Collection will be automatically added into the Collection created by the parent command.
Child commands
addItem
Optional. Any number ofaddItem
commands may be set as children ofsetCollection
to have the new Collection start out with content instead of being empty.
Attributes
var | ||
---|---|---|
Required | Value type | EL-evaluated |
Yes | String | No |
Defines the name of the variable that will hold the new Collection. |