Enables scripted content fragments to interact with theme Pages.
Methods
Delete
Delete a theme's page.
Velocity
#set($additionalInfoResponse = $core_v2_themePage.Delete($themeTypeId, $themeId, $themeContextId, $pageName, $isCustom))
JavaScript
var additionalInfoResponse = core_v2_themePage.Delete(themeTypeId, themeId, themeContextId, pageName, isCustom);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| themeTypeId | Guid | Theme Type Id | Required | ||
| themeId | Guid | Theme Id | Required | ||
| themeContextId | Guid | Theme Context Id | Required | ||
| pageName | String | Page Name | Required | ||
| isCustom | Boolean | Is Custom | Required |
Returns
Update
Update Overload 1
Update a theme's page.
Velocity
#set($additionalInfoResponse = $core_v2_themePage.Update($themeTypeId, $themeId, $themeContextId, $pageXml))
JavaScript
var additionalInfoResponse = core_v2_themePage.Update(themeTypeId, themeId, themeContextId, pageXml);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| themeTypeId | Guid | Theme Type ID | Required | ||
| themeId | Guid | Theme ID | Required | ||
| themeContextId | Guid | Theme context ID | Required | ||
| pageXml | String | XML definition of the page containing a single node. | Required |
Update Overload 2
Update a theme's page.
Velocity
#set($additionalInfoResponse = $core_v2_themePage.Update($themeTypeId, $themeId, $themeContextId, $pageXml, $checkPermissions))
JavaScript
var additionalInfoResponse = core_v2_themePage.Update(themeTypeId, themeId, themeContextId, pageXml, 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 | ||
| pageXml | String | XML definition of the page containing a single node. | Required | ||
| checkPermissions | Boolean | Check permissions before updating | Required |