This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Ideation.Api.IIdeas>()
and is defined in Telligent.Evolution.Ideation.dll
Events
Events.AfterCreate
Handler
void IdeaAfterCreateEventHandler(IdeaAfterCreateEventArgs e);
Events.AfterDelete
Handler
void IdeaAfterDeleteEventHandler(IdeaAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void IdeaAfterUpdateEventHandler(IdeaAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void IdeaBeforeCreateEventHandler(IdeaBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void IdeaBeforeDeleteEventHandler(IdeaBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void IdeaBeforeUpdateEventHandler(IdeaBeforeUpdateEventArgs e);
Events.Render
Handler
void IdeaRenderEventHandler(IdeaRenderEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ContentTypeId | Guid | Ideas Content Type Identifier |
Methods
Idea Create(Guid challengeId, string name, string body, IdeaCreateOptions options);
Creates an Idea
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
challengeId | Guid | Id of the Ideation in which the idea will be created. | Required | ||
name | string | The name of the new Idea. | Required | ||
body | string | The body content of the new idea. | Required | ||
options | IdeaCreateOptions | Additional options for creation. | Required |
Return Type
Idea Current(HttpContext context);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
context | HttpContext | Context | Required |
Return Type
Idea Current(PageContext pageContext);
Gets the current Idea being viewed, if Page Context includes one
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
pageContext | PageContext | Page Context | Required |
Return Type
AdditionalInfo Delete(Guid contentId);
Deletes an Idea
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content id of the idea | Required |
Return Type
Idea Get(Guid contentId);
Gets an Idea
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content id of the idea | Required |
Return Type
PagedList<Idea> List(IdeasListOptions options);
Lists Ideas
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | IdeasListOptions | Filtering and other categorization options. | Required |
Return Type
Idea Update(Guid ideaId, IdeaUpdateOptions options);
Updates an Idea
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ideaId | Guid | Id of the Idea to update. | Required | ||
options | IdeaUpdateOptions | Options for data to update. | Required |
Return Type
string UpDownVoteUI(Guid id, UIVoteOptions options);
Renders UI element for voting on an Idea.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | Guid | Id of the Idea to render for. | Required | ||
options | UIVoteOptions | Additional options for rendering. | Required |
Return Type
string