A link to the page displaying a list of ideas. Note: To use this component, please contact your salesforce.com representative and request that the Ideas extended standard controllers be enabled for your organization.
<!-- Page: listPage --> <apex:page standardController="Idea" recordSetVar="ideaSetVar"> <apex:pageBlock > <ideas:listOutputLink sort="recent" page="listPage" >Recent Ideas</ideas:listOutputLink> | <ideas:listOutputLink sort="top" page="listPage">Top Ideas</ideas:listOutputLink> | <ideas:listOutputLink sort="popular" page="listPage">Popular Ideas</ideas:listOutputLink> | <ideas:listOutputLink sort="comments" page="listPage">Recent Comments</ideas:listOutputLink> </apex:pageBlock> <apex:pageBlock > <apex:dataList value="{!ideaList}" var="ideadata"> <apex:outputText value="{!ideadata.title}"/> </apex:dataList> </apex:pageBlock> </apex:page>
Attribute Name | Attribute Type | Description | Required? | API Version | Access |
---|---|---|---|---|---|
category | String | The desired category for the list of ideas. | 43.0 | ||
communityId | String | The ID for the zone in which the ideas are displayed. If communityID is not set, the zone is defaulted to an active zone accessible to the user. If the user has access to more than one zone, the zone whose name comes first in the alphabet is used. | 43.0 | ||
id | String | An identifier that allows the component to be referenced by other components in the page. | 14.0 | global | |
page | ApexPages.PageReference | The Visualforce page whose URL is used for the output link. This page must use the set oriented standard controller. | Yes | 43.0 | |
pageNumber | Integer | The desired page number for the list of ideas (20 per page). E.g. if there are 100 ideas, pageNumber="2" would show ideas 21-40. | 43.0 | ||
pageOffset | Integer | The desired page offset from the current page. If pageNumber is set, then the pageOffset value is not used. If neither pageNumber nor pageOffset are set, the resulting link does not have a page specified and the controller defaults to the first page. | 43.0 | ||
rendered | Boolean | A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. | 14.0 | global | |
sort | String | The desired sort for the list of ideas. Possible values include "popular", "recent", "top", and "comments." | 43.0 | ||
status | String | The desired status for the list of ideas. | 43.0 | ||
stickyAttributes | Boolean | A Boolean value that specifies whether this component should reuse values for communityId, sort, category, and status that are used on the page containing this link. | 43.0 | ||
style | String | The style used to display the listOutputLink component, used primarily for adding inline CSS styles. | 43.0 | ||
styleClass | String | The style class used to display the listOutputLink component, used primarily to designate which CSS styles are applied when using an external CSS stylesheet. | 43.0 |