Content created on the site must implement this interface for the social services to support it.
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| AllowedThreadTypes | Read, Write | List of String | Allowed Thread Types |
| ApplicationId | Read, Write | Guid | A Guid uniquely identifying the application. |
| AutoLockingDefaultInterval | Read, Write | Nullable of Number | Auto Locking Default Interval |
| AutoLockingEnabled | Read, Write | Nullable of Boolean | Auto Locking Enabled |
| AvatarUrl | Read | String | This can represent a Url to an image particular to the application or application type. |
| Container | Read | Container | The container in which the application is located. |
| ContentId | Read | Guid | A Guid uniquely identifying the content. |
| DateCreated | Read, Write | Nullable of DateTime | Date Created |
| DefaultThreadStatus | Read, Write | String | Default Thread Status |
| DefaultThreadType | Read, Write | String | Default Thread Type |
| Description | Read, Write | String | Description |
| EmailAddress | Read, Write | String | Email Address |
| EmailFooter | Read, Write | String | Email Footer |
| Enabled | Read, Write | Boolean | Enabled |
| EnablePassiveMode | Read, Write | Boolean | Enable Passive Mode |
| EnablePostStatistics | Read, Write | Boolean | Enable Post Statistics |
| EnableQualityVoting | Read, Write | Boolean | Enable Quality Voting |
| Errors | Read | List of Error | Errors |
| ExtendedAttributes | Read, Write | ApiList of ExtendedAttribute | Extended Attributes |
| Group | Read, Write | Group | Group |
| Id | Read, Write | Nullable of Number | Id |
| IndexPosts | Read, Write | Boolean | Index Posts |
| Key | Read | String | Key |
| LatestPostDate | Read, Write | Nullable of DateTime | Latest Post Date |
| MailingListName | Read, Write | String | Mailing List Name |
| ModeratePosts | Read, Write | Boolean | Moderate Posts |
| Name | Read, Write | String | Name |
| PassiveModeAddress | Read, Write | String | Passive Mode Address |
| PostsToModerate | Read, Write | Nullable of Number | Posts To Moderate |
| ReplyCount | Read, Write | Number | Reply Count |
| SuggestedAnswerVoteThreshold | Read, Write | Number | Suggested Answer Vote Threshold |
| ThreadCount | Read, Write | Number | Thread Count |
| Url | Read, Write | String | A Url to the application on the site. |
| VerifiedAnswerVoteThreshold | Read, Write | Number | Verified Answer Vote Threshold |
| Warnings | Read | List of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $forum.HasErrors())
JavaScript
var booleanResponse = forum.HasErrors();
Returns
HasWarnings
Velocity
#set($booleanResponse = $forum.HasWarnings())
JavaScript
var booleanResponse = forum.HasWarnings();
Returns
HasWarningsOrErrors
Velocity
#set($booleanResponse = $forum.HasWarningsOrErrors())
JavaScript
var booleanResponse = forum.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 = $forum.HtmlDescription($target))
JavaScript
var stringResponse = forum.HtmlDescription(target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | String | Target | Required |
Returns
ThrowErrors
Velocity
$forum.ThrowErrors()
JavaScript
forum.ThrowErrors();
Returns
NothingToString
Velocity
#set($stringResponse = $forum.ToString())
JavaScript
var stringResponse = forum.ToString();