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
BooleanHtmlDescription
This method should return the Html encoded description of the application. Possible values for “target” are “Web”, “Email”, “WebServices”, or “raw”. When “raw” is specified as the target, the description should not be encoded or have any special rendering done to it. If there is no description, an empty string should be returned.
Velocity
#set($stringResponse = $wiki.HtmlDescription($target))
JavaScript
var stringResponse = wiki.HtmlDescription(target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | String | Target | Required |
Returns
StringThrowErrors
Velocity
$wiki.ThrowErrors()
JavaScript
wiki.ThrowErrors();