Enables scripted content fragments to get contextual and configuration data related to the theme.
Methods
GetBoolValue
Returns the boolean theme configuration value specified by the property name
Velocity
#set($booleanResponse = $core_v2_theme.GetBoolValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var booleanResponse = core_v2_theme.GetBoolValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | Boolean | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetColorValue
Returns the color theme configuration value specified by the property name
Velocity
#set($stringResponse = $core_v2_theme.GetColorValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetColorValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetCustomValue
Returns the custom theme configuration value specified by the property name
Velocity
#set($stringResponse = $core_v2_theme.GetCustomValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetCustomValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetDateTimeValue
Returns the DateTime theme configuration value specified by the property name
Velocity
#set($dateTimeResponse = $core_v2_theme.GetDateTimeValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var dateTimeResponse = core_v2_theme.GetDateTimeValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | DateTime | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetDoubleValue
Returns the double theme configuration value specified by the property name
Velocity
#set($numberResponse = $core_v2_theme.GetDoubleValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var numberResponse = core_v2_theme.GetDoubleValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | Number | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetGuidValue
Returns the Guid theme configuration value specified by the property name
Velocity
#set($guidResponse = $core_v2_theme.GetGuidValue($propertyName, $inheritanceDepth))
JavaScript
var guidResponse = core_v2_theme.GetGuidValue(propertyName, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetHtmlValue
Returns the HTML theme configuration value specified by the property name
Velocity
#set($stringResponse = $core_v2_theme.GetHtmlValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetHtmlValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetIntValue
Returns the integer theme configuration value specified by the property name
Velocity
#set($numberResponse = $core_v2_theme.GetIntValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var numberResponse = core_v2_theme.GetIntValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | Number | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetPaletteColorValue
Velocity
#set($stringResponse = $core_v2_theme.GetPaletteColorValue($paletteTypeId, $paletteId, $valueId, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetPaletteColorValue(paletteTypeId, paletteId, valueId, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| paletteTypeId | String | Palette Type Id | Required | ||
| paletteId | String | Palette Id | Required | ||
| valueId | String | Value Id | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetPaletteDoubleValue
Velocity
#set($numberResponse = $core_v2_theme.GetPaletteDoubleValue($paletteTypeId, $paletteId, $valueId, $defaultValue, $inheritanceDepth))
JavaScript
var numberResponse = core_v2_theme.GetPaletteDoubleValue(paletteTypeId, paletteId, valueId, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| paletteTypeId | String | Palette Type Id | Required | ||
| paletteId | String | Palette Id | Required | ||
| valueId | String | Value Id | Required | ||
| defaultValue | Number | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetPaletteIntValue
Velocity
#set($numberResponse = $core_v2_theme.GetPaletteIntValue($paletteTypeId, $paletteId, $valueId, $defaultValue, $inheritanceDepth))
JavaScript
var numberResponse = core_v2_theme.GetPaletteIntValue(paletteTypeId, paletteId, valueId, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| paletteTypeId | String | Palette Type Id | Required | ||
| paletteId | String | Palette Id | Required | ||
| valueId | String | Value Id | Required | ||
| defaultValue | Number | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetPaletteStringValue
Velocity
#set($stringResponse = $core_v2_theme.GetPaletteStringValue($paletteTypeId, $paletteId, $valueId, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetPaletteStringValue(paletteTypeId, paletteId, valueId, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| paletteTypeId | String | Palette Type Id | Required | ||
| paletteId | String | Palette Id | Required | ||
| valueId | String | Value Id | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetPaletteUnitValue
Velocity
#set($stringResponse = $core_v2_theme.GetPaletteUnitValue($paletteTypeId, $paletteId, $valueId, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetPaletteUnitValue(paletteTypeId, paletteId, valueId, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| paletteTypeId | String | Palette Type Id | Required | ||
| paletteId | String | Palette Id | Required | ||
| valueId | String | Value Id | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetStringValue
Returns the string theme configuration value specified by the property name
Velocity
#set($stringResponse = $core_v2_theme.GetStringValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetStringValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetUnitValue
Returns the Unit theme configuration value specified by the property name
Velocity
#set($stringResponse = $core_v2_theme.GetUnitValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetUnitValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetUrlListValue
Returns the URL list theme configuration value specified by the property name
Velocity
#set($listResponse = $core_v2_theme.GetUrlListValue($propertyName, $inheritanceDepth))
JavaScript
var listResponse = core_v2_theme.GetUrlListValue(propertyName, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
GetUrlValue
Returns the URL theme configuration value specified by the property name
Velocity
#set($stringResponse = $core_v2_theme.GetUrlValue($propertyName, $defaultValue, $inheritanceDepth))
JavaScript
var stringResponse = core_v2_theme.GetUrlValue(propertyName, defaultValue, inheritanceDepth);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required | ||
| inheritanceDepth | Number | Inheritance Depth | Required |
Returns
ToString
Velocity
#set($stringResponse = $core_v2_theme.ToString())
JavaScript
var stringResponse = core_v2_theme.ToString();