Content created on the site must implement this interface for the social services to support it.
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| Application | Read | IApplication | The application in which the IContent is located. |
| AutomationConfiguration | Read | Dictionary of String | Automation Configuration |
| AutomationId | Read, Write | Nullable of Guid | Automation Id |
| BadgeIconUrl | Read, Write | String | Badge Icon Url |
| ContentId | Read | Guid | A Guid uniquely identifying the content. |
| CreatedDate | Read, Write | DateTime | The date the content was created. |
| Criteria | Read, Write | String | Criteria |
| Enabled | Read, Write | Boolean | Enabled |
| Errors | Read | List of Error | Errors |
| Id | Read, Write | Guid | Id |
| Title | Read, Write | String | Title |
| Url | Read | String | A Url to the content on the site. |
| Warnings | Read | List of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $achievement.HasErrors())
JavaScript
var booleanResponse = achievement.HasErrors();
Returns
HasWarnings
Velocity
#set($booleanResponse = $achievement.HasWarnings())
JavaScript
var booleanResponse = achievement.HasWarnings();
Returns
HasWarningsOrErrors
Velocity
#set($booleanResponse = $achievement.HasWarningsOrErrors())
JavaScript
var booleanResponse = achievement.HasWarningsOrErrors();
Returns
ThrowErrors
Velocity
$achievement.ThrowErrors()
JavaScript
achievement.ThrowErrors();
Returns
NothingToString
Velocity
#set($stringResponse = $achievement.ToString())
JavaScript
var stringResponse = achievement.ToString();