Content created on the site must implement this interface for the social services to support it.
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| ApplicationId | Read | Guid | A Guid uniquely identifying the application. |
| ApplicationTypeId | Read | Guid | A Guid identifying the type of application. All applications of the same type (i.e. wiki) will have the same value here. |
| ContentId | Read | Guid | A Guid uniquely identifying the content. |
| ContentTypeId | Read | Guid | A Guid identifying the type of content. All content of the same type (i.e. wiki page) will have the same value here. |
| CreateDate | Read, Write | Nullable of DateTime | Create Date |
| CreatedBy | Read, Write | User | Created By |
| DefaultArticle | Read, Write | Article | Default Article |
| DefaultType | Read, Write | ArticleType | Default Type |
| DeleteDate | Read, Write | Nullable of DateTime | Delete Date |
| Description | Read, Write | String | Description |
| EnableHelpfulness | Read, Write | Nullable of Boolean | Enable Helpfulness |
| Errors | Read | List of Error | Errors |
| Group | Read, Write | Group | Group |
| Id | Read, Write | Nullable of Guid | Id |
| IsDeleted | Read, Write | Nullable of Boolean | Is Deleted |
| IsEnabled | Read, Write | Nullable of Boolean | A flag representing whether the application is enabled. |
| Name | Read, Write | String | Name |
| Prefix | Read, Write | String | Prefix |
| ThemeId | Read, Write | Nullable of Guid | Theme Id |
| Url | Read, Write | String | A Url to the application on the site. |
| UrlKey | Read, Write | String | Url Key |
| Warnings | Read | List of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $articleCollection.HasErrors())
JavaScript
var booleanResponse = articleCollection.HasErrors();
Returns
HasWarnings
Velocity
#set($booleanResponse = $articleCollection.HasWarnings())
JavaScript
var booleanResponse = articleCollection.HasWarnings();
Returns
HasWarningsOrErrors
Velocity
#set($booleanResponse = $articleCollection.HasWarningsOrErrors())
JavaScript
var booleanResponse = articleCollection.HasWarningsOrErrors();
Returns
HtmlDescription
This method should return the Html encoded description of the application. Possible values for “target” are “Web”, “Email”, “WebServices”, or “raw”. When “raw” is specified as the target, the description should not be encoded or have any special rendering done to it. If there is no description, an empty string should be returned.
Velocity
#set($stringResponse = $articleCollection.HtmlDescription($target))
JavaScript
var stringResponse = articleCollection.HtmlDescription(target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | String | Target | Required |
Returns
ThrowErrors
Velocity
$articleCollection.ThrowErrors()
JavaScript
articleCollection.ThrowErrors();
Returns
NothingToString
Velocity
#set($stringResponse = $articleCollection.ToString())
JavaScript
var stringResponse = articleCollection.ToString();