ideas:listOutputLink

A link to the page displaying a list of ideas. Note: To use this component, please contact your Salesforce representative and request that the Ideas extended standard controllers be enabled for your organization.

Example 

listOutputLink component using the ideas standard list controller

1<!-- Page: listPage -->
2<apex:page standardController="Idea" recordSetVar="ideaSetVar">
3    <apex:pageBlock >
4        <ideas:listOutputLink sort="recent" page="listPage" >Recent Ideas</ideas:listOutputLink>
5        |
6        <ideas:listOutputLink sort="top" page="listPage">Top Ideas</ideas:listOutputLink>
7        |
8        <ideas:listOutputLink sort="popular" page="listPage">Popular Ideas</ideas:listOutputLink>
9        |
10        <ideas:listOutputLink sort="comments" page="listPage">Recent Comments</ideas:listOutputLink>
11    </apex:pageBlock>
12    <apex:pageBlock >
13        <apex:dataList value="{!ideaList}" var="ideadata">
14        <apex:outputText value="{!ideadata.title}"/>
15        </apex:dataList>
16    </apex:pageBlock>
17</apex:page>

Attributes 

Attribute NameAttribute TypeDescriptionRequired?API VersionAccess
categoryStringThe desired category for the list of ideas. 43.0
communityIdStringThe 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
idStringAn identifier that allows the component to be referenced by other components in the page. 14.0global
pageApexPages.PageReferenceThe Visualforce page whose URL is used for the output link. This page must use the set oriented standard controller.Yes43.0
pageNumberIntegerThe 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
pageOffsetIntegerThe 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
renderedBooleanA Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. 14.0global
sortStringThe desired sort for the list of ideas. Possible values include “popular”, “recent”, “top”, and “comments.” 43.0
statusStringThe desired status for the list of ideas. 43.0
stickyAttributesBooleanA 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
styleStringThe style used to display the listOutputLink component, used primarily for adding inline CSS styles. 43.0
styleClassStringThe 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