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 | IDictionary 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 | IList 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 | IList of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $achievement.HasErrors())
JavaScript
var booleanResponse = achievement.HasErrors();
Returns
BooleanHasWarnings
Velocity
#set($booleanResponse = $achievement.HasWarnings())
JavaScript
var booleanResponse = achievement.HasWarnings();
Returns
BooleanHasWarningsOrErrors
Velocity
#set($booleanResponse = $achievement.HasWarningsOrErrors())
JavaScript
var booleanResponse = achievement.HasWarningsOrErrors();
Returns
BooleanThrowErrors
Velocity
$achievement.ThrowErrors()
JavaScript
achievement.ThrowErrors();