Properties
| Name | Access | Type | Description |
|---|---|---|---|
| ApplicationId | Read | Nullable of Guid | Application Id |
| ApplicationTypeId | Read | Nullable of Guid | Application Type Id |
| Context | Read | Object | Email-specific contextual data |
Methods
GetBoolValue
Returns the boolean email template configuration value specified by the property name
Velocity
#set($booleanResponse = $context_v1_email.GetBoolValue($propertyName, $defaultValue))
JavaScript
var booleanResponse = context_v1_email.GetBoolValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | Boolean | Default Value | Required |
Returns
GetColorValue
Returns the color email template configuration value specified by the property name
Velocity
#set($stringResponse = $context_v1_email.GetColorValue($propertyName, $defaultValue))
JavaScript
var stringResponse = context_v1_email.GetColorValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required |
Returns
GetCustomValue
Returns the custom email template configuration value specified by the property name
Velocity
#set($stringResponse = $context_v1_email.GetCustomValue($propertyName, $defaultValue))
JavaScript
var stringResponse = context_v1_email.GetCustomValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required |
Returns
GetDateTimeValue
Returns the DateTime theme configuration value specified by the property name
Velocity
#set($dateTimeResponse = $context_v1_email.GetDateTimeValue($propertyName, $defaultValue))
JavaScript
var dateTimeResponse = context_v1_email.GetDateTimeValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | DateTime | Default Value | Required |
Returns
GetDoubleValue
Returns the double email template configuration value specified by the property name
Velocity
#set($numberResponse = $context_v1_email.GetDoubleValue($propertyName, $defaultValue))
JavaScript
var numberResponse = context_v1_email.GetDoubleValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | Number | Default Value | Required |
Returns
GetGuidValue
Returns the Guid email template configuration value specified by the property name
Velocity
#set($guidResponse = $context_v1_email.GetGuidValue($propertyName))
JavaScript
var guidResponse = context_v1_email.GetGuidValue(propertyName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required |
Returns
GetHtmlValue
Returns the HTML theme configuration value specified by the property name
Velocity
#set($stringResponse = $context_v1_email.GetHtmlValue($propertyName, $defaultValue))
JavaScript
var stringResponse = context_v1_email.GetHtmlValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required |
Returns
GetIntValue
Returns the integer email template configuration value specified by the property name
Velocity
#set($numberResponse = $context_v1_email.GetIntValue($propertyName, $defaultValue))
JavaScript
var numberResponse = context_v1_email.GetIntValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | Number | Default Value | Required |
Returns
GetStringValue
Returns the string theme configuration value specified by the property name
Velocity
#set($stringResponse = $context_v1_email.GetStringValue($propertyName, $defaultValue))
JavaScript
var stringResponse = context_v1_email.GetStringValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required |
Returns
GetUnitValue
Returns the Unit email template configuration value specified by the property name
Velocity
#set($stringResponse = $context_v1_email.GetUnitValue($propertyName, $defaultValue))
JavaScript
var stringResponse = context_v1_email.GetUnitValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required |
Returns
GetUrlListValue
Returns the URL list email template configuration value specified by the property name
Velocity
#set($listResponse = $context_v1_email.GetUrlListValue($propertyName))
JavaScript
var listResponse = context_v1_email.GetUrlListValue(propertyName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required |
Returns
GetUrlValue
Returns the URL email template configuration value specified by the property name
Velocity
#set($stringResponse = $context_v1_email.GetUrlValue($propertyName, $defaultValue))
JavaScript
var stringResponse = context_v1_email.GetUrlValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | String | Default Value | Required |
Returns
ToString
Velocity
#set($stringResponse = $context_v1_email.ToString())
JavaScript
var stringResponse = context_v1_email.ToString();