Content created on the site must implement this interface for the social services to support it.
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
Author | User | |||
Category | IdeaCategory | |||
Challenge | Challenge | |||
ContentId | Guid | A Guid uniquely identifying the content. | ||
CreatedDate | DateTime | The date the content was created. | ||
CurrentStatus | IdeaStatus | |||
Errors | IList<Error> | |||
Id | Guid | |||
IsEnabled | bool | A flag representing whether the content is enabled. This can be a wrapper for approval states, etc. | ||
IsSuspectedAbusive | bool | |||
LastUpdatedDate | DateTime | |||
Name | string | |||
NoVotes | int | |||
Score | int | |||
SearchUniqueId | string | |||
Status | Status | |||
StatusAuthor | User | |||
StatusDate | DateTime? | |||
TotalVotes | int | |||
Url | string | A Url to the content on the site. | ||
UrlKey | string | |||
Warnings | IList<Warning> | |||
YesVotes | int |
Methods
Description
Usage
#set($stringResponse = $idea.Description())
Return Type
string
Description
Usage
#set($stringResponse = $idea.Description($target))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | string | Target | Required |
Return Type
string
HasErrors
Usage
#set($booleanResponse = $idea.HasErrors())
Return Type
bool
HasWarnings
Usage
#set($booleanResponse = $idea.HasWarnings())
Return Type
bool
HasWarningsOrErrors
Usage
#set($booleanResponse = $idea.HasWarningsOrErrors())
Return Type
bool
StatusNotes
Usage
#set($stringResponse = $idea.StatusNotes())
Return Type
string
StatusNotes
Usage
#set($stringResponse = $idea.StatusNotes($target))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | string | Target | Required |
Return Type
string
ThrowErrors
Usage
$idea.ThrowErrors()