Content created on the site must implement this interface for the social services to support it.
Properties
Name | Access | Type | Description |
---|---|---|---|
AnswerVerifiedByUserId | Read, Write | Nullable of Int32 | Answer Verified By User Id |
Application | Read | Application | The application in which the IContent is located. |
Approved | Read, Write | Nullable of Boolean | Approved |
Author | Read, Write | User | Author |
AvatarUrl | Read | String | Url to an image particular to the content or content type. If none, return null. |
ContentId | Read, Write | Guid | A Guid uniquely identifying the content. |
ContentTypeId | Read, Write | Nullable of Int32 | A Guid identifying the type of content. All content of the same type (i.e. wiki page) will have the same value here. |
Date | Read, Write | Nullable of DateTime | Date |
EditNotes | Read, Write | String | Edit Notes |
EmailFiles | Read | IList of EmailFile | Email Files |
EmoticonId | Read, Write | Int32 | Emoticon Id |
Errors | Read | IList of Error | Errors |
Excerpt | Read, Write | String | Excerpt |
ExtendedAttributes | Read, Write | ApiList of ExtendedAttribute | Extended Attributes |
File | Read, Write | MediaFile | File |
ForumId | Read, Write | Nullable of Int32 | Forum Id |
GlobalContentTypeId | Read | Guid | Global Content Type Id |
Id | Read, Write | Nullable of Int32 | Id |
IsAnonymous | Read, Write | Nullable of Boolean | Is Anonymous |
IsAnswer | Read, Write | Nullable of Boolean | Is Answer |
IsDeleted | Read | Nullable of Boolean | Is Deleted |
IsLocked | Read, Write | Nullable of Boolean | Is Locked |
IsSuggestedAnswer | Read, Write | Nullable of Boolean | Is Suggested Answer |
ParentId | Read, Write | Nullable of Int32 | Parent Id |
Points | Read, Write | Nullable of Int32 | Points |
PostLevel | Read, Write | Nullable of Int32 | Post Level |
PostMedia | Read, Write | String | Post Media |
PostStatus | Read, Write | String | Post Status |
PostType | Read, Write | String | Post Type |
QualityNoVotes | Read | Nullable of Int32 | Quality No Votes |
QualityScore | Read | Nullable of Int32 | Quality Score |
QualityYesVotes | Read | Nullable of Int32 | Quality Yes Votes |
ReplyCount | Read, Write | Nullable of Int32 | Reply Count |
SearchUniqueId | Read | String | Search Unique Id |
SortOrder | Read, Write | Nullable of Int32 | Sort Order |
SpamScore | Read, Write | Nullable of Int32 | Spam Score |
SpamStatus | Read, Write | String | Spam Status |
Subject | Read, Write | String | Subject |
SubscribeToThread | Read, Write | Nullable of Boolean | Subscribe To Thread |
Tags | Read, Write | IList of String | Tags |
ThreadId | Read, Write | Nullable of Int32 | Thread Id |
TotalQualityVotes | Read | Nullable of Int32 | Total Quality Votes |
Url | Read, Write | String | A Url to the content on the site. |
UserHostAddress | Read | String | User Host Address |
Warnings | Read | IList of Warning | Warnings |
Methods
Body
Body Overload 1
Velocity
#set($stringResponse = $forumReply.Body())
JavaScript
var stringResponse = forumReply.Body();
Body Overload 2
Velocity
#set($stringResponse = $forumReply.Body($postTarget))
JavaScript
var stringResponse = forumReply.Body(postTarget);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
postTarget | String | Post Target | Required |
Returns
String
HasErrors
Velocity
#set($booleanResponse = $forumReply.HasErrors())
JavaScript
var booleanResponse = forumReply.HasErrors();
Returns
Boolean
HasWarnings
Velocity
#set($booleanResponse = $forumReply.HasWarnings())
JavaScript
var booleanResponse = forumReply.HasWarnings();
Returns
Boolean
HasWarningsOrErrors
Velocity
#set($booleanResponse = $forumReply.HasWarningsOrErrors())
JavaScript
var booleanResponse = forumReply.HasWarningsOrErrors();
Returns
Boolean
ThrowErrors
Velocity
$forumReply.ThrowErrors()
JavaScript
forumReply.ThrowErrors();