Enables scripted content fragments to use content
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| Current | Read | Content | The current contextual content |
| CurrentInclusive | Read | Content | The current contextual content. Returns a contextual application or container that is also content if a strict content item is not available contextually. |
Methods
Get
Retrieve a specific piece of content
Velocity
#set($contentResponse = $core_v2_content.Get($contentId, $contentTypeId))
JavaScript
var contentResponse = core_v2_content.Get(contentId, contentTypeId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| contentId | Guid | Content Id | Required | ||
| contentTypeId | Guid | Content Type Id | Required |