Content created on the site must implement this interface for the social services to support it.
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| Author | Read | User | Author |
| Category | Read | IdeaCategory | Category |
| Challenge | Read | Challenge | Challenge |
| ContentId | Read | Guid | A Guid uniquely identifying the content. |
| CreatedDate | Read | DateTime | The date the content was created. |
| CurrentStatus | Read | IdeaStatus | Current Status |
| Errors | Read | List of Error | Errors |
| Id | Read | Guid | Id |
| IsEnabled | Read | Boolean | A flag representing whether the content is enabled. This can be a wrapper for approval states, etc. |
| IsSuspectedAbusive | Read | Boolean | Is Suspected Abusive |
| LastUpdatedDate | Read | DateTime | Last Updated Date |
| Name | Read | String | Name |
| NoVotes | Read | Number | No Votes |
| Score | Read | Number | Score |
| SearchUniqueId | Read | String | Search Unique Id |
| Status | Read | Status | Status |
| StatusAuthor | Read | User | Status Author |
| StatusDate | Read | Nullable of DateTime | Status Date |
| TotalVotes | Read | Number | Total Votes |
| Url | Read | String | A Url to the content on the site. |
| UrlKey | Read | String | Url Key |
| Warnings | Read | List of Warning | Warnings |
| YesVotes | Read | Number | Yes Votes |
Methods
Description
Description Overload 1
Velocity
#set($stringResponse = $idea.Description())
JavaScript
var stringResponse = idea.Description();
Description Overload 2
Velocity
#set($stringResponse = $idea.Description($target))
JavaScript
var stringResponse = idea.Description(target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | String | Target | Required |
Returns
HasErrors
Velocity
#set($booleanResponse = $idea.HasErrors())
JavaScript
var booleanResponse = idea.HasErrors();
Returns
HasWarnings
Velocity
#set($booleanResponse = $idea.HasWarnings())
JavaScript
var booleanResponse = idea.HasWarnings();
Returns
HasWarningsOrErrors
Velocity
#set($booleanResponse = $idea.HasWarningsOrErrors())
JavaScript
var booleanResponse = idea.HasWarningsOrErrors();
Returns
HtmlDescription
Return the Html encoded description of the content (the body, for example). 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.
Velocity
#set($stringResponse = $idea.HtmlDescription($target))
JavaScript
var stringResponse = idea.HtmlDescription(target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | String | Target | Required |
Returns
StatusNotes
StatusNotes Overload 1
Velocity
#set($stringResponse = $idea.StatusNotes())
JavaScript
var stringResponse = idea.StatusNotes();
StatusNotes Overload 2
Velocity
#set($stringResponse = $idea.StatusNotes($target))
JavaScript
var stringResponse = idea.StatusNotes(target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | String | Target | Required |
Returns
ThrowErrors
Velocity
$idea.ThrowErrors()
JavaScript
idea.ThrowErrors();
Returns
NothingToString
Velocity
#set($stringResponse = $idea.ToString())
JavaScript
var stringResponse = idea.ToString();