Content created on the site must implement this interface for the social services to support it.
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| Application | Read | Application | The application in which the IContent is located. |
| ChildPageCount | Read, Write | Nullable of Int32 | Child Page Count |
| CommentCount | Read, Write | Nullable of Int32 | Comment Count |
| ContentId | Read, Write | Guid | A Guid uniquely identifying the content. |
| CreatedDate | Read, Write | Nullable of DateTime | The date the content was created. |
| Date | Read, Write | Nullable of DateTime | Date |
| Errors | Read | IList of Error | Errors |
| FeaturedImage | Read, Write | String | Featured Image |
| ForumThreadId | Read, Write | Nullable of Int32 | Forum Thread Id |
| GroupId | Read, Write | Nullable of Int32 | Group Id |
| HiddenInTableOfContents | Read, Write | Nullable of Boolean | Hidden In Table Of Contents |
| Id | Read, Write | Nullable of Int32 | Id |
| IsDefaultPage | Read, Write | Nullable of Boolean | Is Default Page |
| IsFeatured | Read, Write | Nullable of Boolean | Is Featured |
| IsLocked | Read, Write | Nullable of Boolean | Is Locked |
| IsPublished | Read, Write | Nullable of Boolean | Is Published |
| LastModifiedDate | Read, Write | Nullable of DateTime | Last Modified Date |
| MetaDescription | Read, Write | String | Meta Description |
| MetaKeywords | Read, Write | String | Meta Keywords |
| MetaTitle | Read, Write | String | Meta Title |
| PageKey | Read, Write | String | Page Key |
| ParentPageId | Read, Write | Nullable of Int32 | Parent Page Id |
| Position | Read, Write | Nullable of Int32 | Position |
| RatingCount | Read, Write | Nullable of Int32 | Rating Count |
| RatingSum | Read, Write | Nullable of Int32 | Rating Sum |
| RevisionCount | Read, Write | Nullable of Int32 | Revision Count |
| RevisionNumber | Read, Write | Nullable of Int32 | Revision Number |
| SearchUniqueId | Read | String | Search Unique Id |
| Tags | Read, Write | IList of String | Tags |
| Title | Read, Write | String | Title |
| Url | Read, Write | String | A Url to the content on the site. |
| User | Read, Write | User | User |
| ViewCount | Read, Write | Nullable of Int32 | View Count |
| Warnings | Read | IList of Warning | Warnings |
| WikiId | Read, Write | Nullable of Int32 | Wiki Id |
Methods
Body
Body Overload 1
Velocity
#set($stringResponse = $wikiPage.Body())
JavaScript
var stringResponse = wikiPage.Body();
Body Overload 2
Velocity
#set($stringResponse = $wikiPage.Body($postTarget))
JavaScript
var stringResponse = wikiPage.Body(postTarget);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| postTarget | String | Post Target | Required |
Returns
StringHasErrors
Velocity
#set($booleanResponse = $wikiPage.HasErrors())
JavaScript
var booleanResponse = wikiPage.HasErrors();
Returns
BooleanHasWarnings
Velocity
#set($booleanResponse = $wikiPage.HasWarnings())
JavaScript
var booleanResponse = wikiPage.HasWarnings();
Returns
BooleanHasWarningsOrErrors
Velocity
#set($booleanResponse = $wikiPage.HasWarningsOrErrors())
JavaScript
var booleanResponse = wikiPage.HasWarningsOrErrors();
Returns
BooleanThrowErrors
Velocity
$wikiPage.ThrowErrors()
JavaScript
wikiPage.ThrowErrors();