Skip to main content
Skip table of contents

setCollection

Creates a variable with a new Collection asits value.

Parent commands

  • setCollection
    Optional. If setCollection 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 of addItem 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.