Content created on the site must implement this interface for the social services to support it.
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| ApplicationId | Read, Write | Guid | A Guid uniquely identifying the application. |
| CommentCount | Read, Write | Int32 | Comment Count |
| ContentId | Read | Guid | A Guid uniquely identifying the content. |
| Description | Read, Write | String | Description |
| Enabled | Read, Write | Boolean | Enabled |
| Errors | Read | IList of Error | Errors |
| Group | Read, Write | Group | Group |
| Id | Read, Write | Nullable of Int32 | Id |
| Key | Read, Write | String | Key |
| LastModifiedDate | Read, Write | Nullable of DateTime | Last Modified Date |
| LastModifiedUtcDate | Read, Write | Nullable of DateTime | Last Modified Utc Date |
| Name | Read, Write | String | Name |
| PageCount | Read, Write | Int32 | Page Count |
| Url | Read, Write | String | A Url to the application on the site. |
| Warnings | Read | IList of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $wiki.HasErrors())
JavaScript
var booleanResponse = wiki.HasErrors();
Returns
BooleanHasWarnings
Velocity
#set($booleanResponse = $wiki.HasWarnings())
JavaScript
var booleanResponse = wiki.HasWarnings();
Returns
BooleanHasWarningsOrErrors
Velocity
#set($booleanResponse = $wiki.HasWarningsOrErrors())
JavaScript
var booleanResponse = wiki.HasWarningsOrErrors();
Returns
BooleanThrowErrors
Velocity
$wiki.ThrowErrors()
JavaScript
wiki.ThrowErrors();