Enables scripted content fragments to interact with theme headers.
Methods
Update
Update Overload 1
Update a theme's header.
Velocity
#set($additionalInfoResponse = $core_v2_themeHeader.Update($themeTypeId, $themeId, $themeContextId, $headerXml))
JavaScript
var additionalInfoResponse = core_v2_themeHeader.Update(themeTypeId, themeId, themeContextId, headerXml);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| themeTypeId | Guid | Theme Type ID | Required | ||
| themeId | Guid | Theme ID | Required | ||
| themeContextId | Guid | Theme context ID | Required | ||
| headerXml | String | XML definition of the header containing a single node. | Required |
Update Overload 2
Update a theme's header.
Velocity
#set($additionalInfoResponse = $core_v2_themeHeader.Update($themeTypeId, $themeId, $themeContextId, $headerXml, $checkPermissions))
JavaScript
var additionalInfoResponse = core_v2_themeHeader.Update(themeTypeId, themeId, themeContextId, headerXml, checkPermissions);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| themeTypeId | Guid | Theme Type ID | Required | ||
| themeId | Guid | Theme ID | Required | ||
| themeContextId | Guid | Theme context ID | Required | ||
| headerXml | String | XML definition of the header containing a single node. | Required | ||
| checkPermissions | Boolean | Check permissions before updating | Required |