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. | 
| Author | Read, Write | User | Author | 
| BlogId | Read, Write | Nullable of Int32 | Blog Id | 
| CommentCount | Read, Write | Nullable of Int32 | Comment Count | 
| ContentId | Read, Write | Guid | A Guid uniquely identifying the content. | 
| CreatedUser | Read | User | Created User | 
| EnableCrossPosting | Read | Nullable of Boolean | Cross posting is obsolete. | 
| Errors | Read | IList of Error | Errors | 
| Excerpt | Read, Write | String | Excerpt | 
| ExcerptSize | Read, Write | Nullable of Int32 | Excerpt Size | 
| ExtendedAttributes | Read, Write | ApiList of ExtendedAttribute | Extended Attributes | 
| FeaturedImage | Read, Write | String | Featured Image | 
| File | Read, Write | MediaFile | File | 
| GeneratePostSummary | Read, Write | Nullable of Boolean | Generate Post Summary | 
| GroupId | Read, Write | Nullable of Int32 | Group Id | 
| HasPendingChanges | Read, Write | Nullable of Boolean | Has Pending Changes | 
| Id | Read, Write | Nullable of Int32 | Id | 
| IsApproved | Read, Write | Nullable of Boolean | Is Approved | 
| IsExternal | Read, Write | Nullable of Boolean | Is External | 
| IsFeatured | Read, Write | Nullable of Boolean | Is Featured | 
| IsLocked | Read, Write | Nullable of Boolean | Is Locked | 
| IsPostEnabled | Read, Write | Nullable of Boolean | Is Post Enabled | 
| MetaDescription | Read, Write | String | Meta Description | 
| MetaKeywords | Read, Write | String | Meta Keywords | 
| MetaTitle | Read, Write | String | Meta Title | 
| OpenGraphDescription | Read, Write | String | Open Graph Description | 
| OpenGraphImage | Read, Write | MediaFile | Open Graph Image | 
| OpenGraphTitle | Read, Write | String | Open Graph Title | 
| PostImageFile | Read, Write | MediaFile | Post Image File | 
| PostImageUrl | Read, Write | String | Post Image Url | 
| PublishedDate | Read, Write | Nullable of DateTime | Published Date | 
| SearchUniqueId | Read | String | Search Unique Id | 
| Slug | Read, Write | String | Slug | 
| Tags | Read, Write | IList of String | Tags | 
| Title | Read, Write | String | Title | 
| TitleUrl | Read, Write | String | Title Url | 
| Url | Read, Write | String | A Url to the content on the site. | 
| UsePostSummary | Read, Write | Nullable of Boolean | Use Post Summary | 
| Views | Read, Write | Nullable of Int32 | Views | 
| Warnings | Read | IList of Warning | Warnings | 
Methods
Body
Body Overload 1
Velocity
#set($stringResponse = $blogPost.Body())
JavaScript
var stringResponse = blogPost.Body();
Body Overload 2
Velocity
#set($stringResponse = $blogPost.Body($postTarget))
JavaScript
var stringResponse = blogPost.Body(postTarget);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| postTarget | String | Post Target | Required | 
Returns
StringHasErrors
Velocity
#set($booleanResponse = $blogPost.HasErrors())
JavaScript
var booleanResponse = blogPost.HasErrors();
Returns
BooleanHasWarnings
Velocity
#set($booleanResponse = $blogPost.HasWarnings())
JavaScript
var booleanResponse = blogPost.HasWarnings();
Returns
BooleanHasWarningsOrErrors
Velocity
#set($booleanResponse = $blogPost.HasWarningsOrErrors())
JavaScript
var booleanResponse = blogPost.HasWarningsOrErrors();
Returns
BooleanThrowErrors
Velocity
$blogPost.ThrowErrors()
JavaScript
blogPost.ThrowErrors();
 
				