Enables scripted content fragments to use containers
Properties
Name | Access | Type | Description |
---|---|---|---|
Current | Read | Container | The current contextual container |
Methods
Get
Get Overload 1
Retrieve a specific container
Velocity
#set($containerResponse = $core_v2_container.Get($containerId))
JavaScript
var containerResponse = core_v2_container.Get(containerId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
containerId | Guid | Container Id | Required |
Get Overload 2
Retrieve a specific container
Velocity
#set($containerResponse = $core_v2_container.Get($containerId, $containerTypeId))
JavaScript
var containerResponse = core_v2_container.Get(containerId, containerTypeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
containerId | Guid | Container Id | Required | ||
containerTypeId | Guid | Container Type Id | Required |