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. |
AttachedUrl | Read, Write | String | Attached Url |
Author | Read, Write | User | Author |
Body | Read, Write | String | Body |
ContentId | Read | Guid | A Guid uniquely identifying the content. |
CreatedDate | Read, Write | Nullable of DateTime | The date the content was created. |
Errors | Read | IList of Error | Errors |
Group | Read, Write | Group | Group |
Id | Read, Write | Nullable of Guid | Id |
IsPublished | Read | Boolean | Is Published |
LastUpdate | Read, Write | Nullable of DateTime | Last Update |
RenderedBody | Read, Write | String | Rendered Body |
Replies | Read, Write | IList of ReplyMessage | Replies |
ReplyCount | Read, Write | Int32 | Reply Count |
Url | Read, Write | String | A Url to the content on the site. |
Warnings | Read | IList of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $statusMessage.HasErrors())
JavaScript
var booleanResponse = statusMessage.HasErrors();
Returns
Boolean
HasWarnings
Velocity
#set($booleanResponse = $statusMessage.HasWarnings())
JavaScript
var booleanResponse = statusMessage.HasWarnings();
Returns
Boolean
HasWarningsOrErrors
Velocity
#set($booleanResponse = $statusMessage.HasWarningsOrErrors())
JavaScript
var booleanResponse = statusMessage.HasWarningsOrErrors();
Returns
Boolean
Message
Velocity
#set($stringResponse = $statusMessage.Message($target))
JavaScript
var stringResponse = statusMessage.Message(target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | String | Target | Required |
Returns
String
ThrowErrors
Velocity
$statusMessage.ThrowErrors()
JavaScript
statusMessage.ThrowErrors();