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 | Number | Comment Count |
| ContentId | Read | Guid | A Guid uniquely identifying the content. |
| Description | Read, Write | String | Description |
| Enabled | Read, Write | Boolean | Enabled |
| Errors | Read | List of Error | Errors |
| Group | Read, Write | Group | Group |
| Id | Read, Write | Nullable of Number | 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 | Number | Page Count |
| Url | Read, Write | String | A Url to the application on the site. |
| Warnings | Read | List of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $wiki.HasErrors())
JavaScript
var booleanResponse = wiki.HasErrors();
Returns
HasWarnings
Velocity
#set($booleanResponse = $wiki.HasWarnings())
JavaScript
var booleanResponse = wiki.HasWarnings();
Returns
HasWarningsOrErrors
Velocity
#set($booleanResponse = $wiki.HasWarningsOrErrors())
JavaScript
var booleanResponse = wiki.HasWarningsOrErrors();
Returns
HtmlDescription
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
ThrowErrors
Velocity
$wiki.ThrowErrors()
JavaScript
wiki.ThrowErrors();
Returns
NothingToString
Velocity
#set($stringResponse = $wiki.ToString())
JavaScript
var stringResponse = wiki.ToString();