Content that supports extended review of text. This is useful when detecting abuse within content.
Properties
Name | Access | Type | Description |
---|---|---|---|
AnswerCount | Read, Write | Nullable of Int32 | Answer Count |
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. |
Date | Read, Write | Nullable of DateTime | Date |
EditNotes | Read, Write | String | Edit Notes |
EmailFiles | Read | IList of EmailFile | Email Files |
EmoticonId | Read, Write | Nullable of Int32 | Emoticon Id |
Errors | Read | IList of Error | Errors |
Excerpt | Read, Write | String | Excerpt |
ExtendedAttributes | Read, Write | ApiList of ExtendedAttribute | Extended Attributes |
FeaturedImage | Read, Write | String | Featured Image |
File | Read, Write | MediaFile | File |
ForumId | Read, Write | Nullable of Int32 | Forum Id |
ForumReplyId | Read, Write | Nullable of Int32 | Forum Reply Id |
GlobalContentTypeId | Read | Guid | Global Content Type Id |
GroupId | Read, Write | Nullable of Int32 | Group Id |
HasPoll | Read, Write | Nullable of Boolean | Has Poll |
HasRead | Read, Write | Nullable of Boolean | Has Read |
Id | Read, Write | Nullable of Int32 | Id |
IsAnnouncement | Read, Write | Nullable of Boolean | Is Announcement |
IsAnonymous | Read, Write | Nullable of Boolean | Is Anonymous |
IsFeatured | Read, Write | Nullable of Boolean | Is Featured |
IsLocked | Read, Write | Nullable of Boolean | Is Locked |
IsPopular | Read, Write | Nullable of Boolean | Is Popular |
IsSticky | Read, Write | Nullable of Boolean | Is Sticky |
LastReadDate | Read, Write | Nullable of DateTime | Last Read Date |
LatestForumReplyAuthorId | Read, Write | Nullable of Int32 | Latest Forum Reply Author Id |
LatestForumReplyId | Read, Write | Nullable of Int32 | Latest Forum Reply Id |
LatestPostDate | Read, Write | Nullable of DateTime | Latest Post Date |
Points | Read, Write | Nullable of Int32 | Points |
PollDescription | Read, Write | String | Poll Description |
PollExpirationDate | Read, Write | Nullable of DateTime | Poll Expiration Date |
PollTitle | Read, Write | String | Poll Title |
PostLevel | Read, Write | Nullable of Int32 | Post Level |
PostMedia | Read, Write | String | Post Media |
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 |
Rating | Read, Write | Nullable of Double | Rating |
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 |
StickyDate | Read, Write | Nullable of DateTime | Sticky Date |
Subject | Read, Write | String | Subject |
SubscriberCount | Read, Write | Nullable of Int32 | Subscriber Count |
SubscribeToThread | Read, Write | Nullable of Boolean | Subscribe To Thread |
SuggestedAnswerCount | Read, Write | Nullable of Int32 | Suggested Answer Count |
Tags | Read, Write | IList of String | Tags |
ThreadStatus | Read, Write | String | Thread Status |
ThreadType | Read, Write | String | Thread Type |
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 |
ViewCount | Read, Write | Nullable of Int32 | View Count |
Warnings | Read | IList of Warning | Warnings |
Methods
Body
Body Overload 1
Velocity
#set($stringResponse = $forumThread.Body())
JavaScript
var stringResponse = forumThread.Body();
Body Overload 2
Velocity
#set($stringResponse = $forumThread.Body($postTarget))
JavaScript
var stringResponse = forumThread.Body(postTarget);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
postTarget | String | Post Target | Required |
Returns
String
HasErrors
Velocity
#set($booleanResponse = $forumThread.HasErrors())
JavaScript
var booleanResponse = forumThread.HasErrors();
Returns
Boolean
HasWarnings
Velocity
#set($booleanResponse = $forumThread.HasWarnings())
JavaScript
var booleanResponse = forumThread.HasWarnings();
Returns
Boolean
HasWarningsOrErrors
Velocity
#set($booleanResponse = $forumThread.HasWarningsOrErrors())
JavaScript
var booleanResponse = forumThread.HasWarningsOrErrors();
Returns
Boolean
ThrowErrors
Velocity
$forumThread.ThrowErrors()
JavaScript
forumThread.ThrowErrors();