- Properties
- GetBoolValue
- GetColorValue
- GetCustomValue
- GetDateTimeValue
- GetDoubleValue
- GetGuidValue
- GetHtmlValue
- GetIntValue
- GetStringValue
- GetUnitValue
- GetUrlListValue
- GetUrlValue
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
BooleanGetColorValue
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
StringGetCustomValue
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
StringGetDateTimeValue
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
DateTimeGetDoubleValue
Returns the double email template configuration value specified by the property name
Velocity
#set($doubleResponse = $context_v1_email.GetDoubleValue($propertyName, $defaultValue))
JavaScript
var doubleResponse = context_v1_email.GetDoubleValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | Double | Default Value | Required |
Returns
DoubleGetGuidValue
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
GuidGetHtmlValue
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
StringGetIntValue
Returns the integer email template configuration value specified by the property name
Velocity
#set($int32Response = $context_v1_email.GetIntValue($propertyName, $defaultValue))
JavaScript
var int32Response = context_v1_email.GetIntValue(propertyName, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required | ||
| defaultValue | Int32 | Default Value | Required |
Returns
Int32GetStringValue
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
StringGetUnitValue
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
StringGetUrlListValue
Returns the URL list email template configuration value specified by the property name
Velocity
#set($iListResponse = $context_v1_email.GetUrlListValue($propertyName))
JavaScript
var iListResponse = context_v1_email.GetUrlListValue(propertyName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | String | Property Name | Required |
Returns
IList of StringGetUrlValue
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
String