- Properties
- Body
- GetExtendedAttributeBool
- GetExtendedAttributeDateTime
- GetExtendedAttributeGuid
- GetExtendedAttributeInt
- GetExtendedAttributeString
- HtmlName
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| Application | Read | Application | Application |
| Author | Read | User | Author |
| AvatarUrl | Read | String | Avatar Url |
| CommentCount | Read | Nullable of Int32 | Comment Count |
| ContentId | Read | Guid | Content Id |
| Date | Read | Nullable of DateTime | Date |
| Downloads | Read | Nullable of Int32 | Downloads |
| EmbedCode | Read | String | Embed Code |
| ExtendedAttributes | Read | ApiList of ExtendedAttribute | Extended Attributes |
| FeaturedImage | Read | String | Featured Image |
| File | Read | MediaFile | File |
| GroupId | Read | Nullable of Int32 | Group Id |
| Id | Read | Nullable of Int32 | Id |
| IsApproved | Read | Nullable of Boolean | Is Approved |
| IsFeatured | Read | Nullable of Boolean | Is Featured |
| MediaGalleryId | Read | Nullable of Int32 | Media Gallery Id |
| PostType | Read | String | Post Type |
| RatingCount | Read | Nullable of Int32 | Rating Count |
| RatingSum | Read | Nullable of Int32 | Rating Sum |
| SearchUniqueId | Read | String | Search Unique Id |
| Tags | Read | IList of String | Tags |
| Title | Read | String | Title |
| Url | Read | String | Url |
| Views | Read | Nullable of Int32 | Views |
Methods
Body
Body Overload 1
Velocity
#set($stringResponse = $context_v2_automationTrigger.Arguments.Body())
JavaScript
var stringResponse = context_v2_automationTrigger.Arguments.Body();
Body Overload 2
Velocity
#set($stringResponse = $context_v2_automationTrigger.Arguments.Body($postTarget))
JavaScript
var stringResponse = context_v2_automationTrigger.Arguments.Body(postTarget);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| postTarget | String | Post Target | Required |
Returns
StringGetExtendedAttributeBool
Velocity
#set($booleanResponse = $context_v2_automationTrigger.Arguments.GetExtendedAttributeBool($name, $defaultValue))
JavaScript
var booleanResponse = context_v2_automationTrigger.Arguments.GetExtendedAttributeBool(name, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | String | Name | Required | ||
| defaultValue | Boolean | Default Value | Required |
Returns
BooleanGetExtendedAttributeDateTime
Velocity
#set($dateTimeResponse = $context_v2_automationTrigger.Arguments.GetExtendedAttributeDateTime($name, $defaultValue))
JavaScript
var dateTimeResponse = context_v2_automationTrigger.Arguments.GetExtendedAttributeDateTime(name, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | String | Name | Required | ||
| defaultValue | DateTime | Default Value | Required |
Returns
DateTimeGetExtendedAttributeGuid
Velocity
#set($guidResponse = $context_v2_automationTrigger.Arguments.GetExtendedAttributeGuid($name, $defaultValue))
JavaScript
var guidResponse = context_v2_automationTrigger.Arguments.GetExtendedAttributeGuid(name, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | String | Name | Required | ||
| defaultValue | Guid | Default Value | Required |
Returns
GuidGetExtendedAttributeInt
Velocity
#set($int32Response = $context_v2_automationTrigger.Arguments.GetExtendedAttributeInt($name, $defaultValue))
JavaScript
var int32Response = context_v2_automationTrigger.Arguments.GetExtendedAttributeInt(name, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | String | Name | Required | ||
| defaultValue | Int32 | Default Value | Required |
Returns
Int32GetExtendedAttributeString
Velocity
#set($stringResponse = $context_v2_automationTrigger.Arguments.GetExtendedAttributeString($name, $defaultValue))
JavaScript
var stringResponse = context_v2_automationTrigger.Arguments.GetExtendedAttributeString(name, defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | String | Name | Required | ||
| defaultValue | String | Default Value | Required |
Returns
StringHtmlName
Velocity
#set($stringResponse = $context_v2_automationTrigger.Arguments.HtmlName($postTarget))
JavaScript
var stringResponse = context_v2_automationTrigger.Arguments.HtmlName(postTarget);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| postTarget | String | Post Target | Required |
Returns
String