ideas:detailOutputLink

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

Example 

detailOutputLink component using the ideas standard controller

1<!-- For this example to render properly, you must associate the Visualforce page
2with a valid idea record in the URL.
3For example, if 001D000000IRt53 is the idea ID, the resulting URL should be:
4https://MyDomain_login_URL/apex/myPage?id=001D000000IRt53
5See the Visualforce Developer's Guide Quick Start Tutorial for more information. -->
6
7<!-- Page: detailPage -->
8<apex:page standardController="Idea">
9    <apex:pageBlock title="Idea Section">
10        <ideas:detailOutputLink page="detailPage" ideaId="{!idea.id}">{!idea.title}</ideas:detailOutputLink>
11        <br/><br/>
12        <apex:outputText >{!idea.body}</apex:outputText>
13    </apex:pageBlock>
14    <apex:pageBlock title="Comments Section">
15        <apex:dataList var="a" value="{!commentList}" id="list">
16        {!a.commentBody}
17        </apex:dataList>
18    </apex:pageBlock>
19</apex:page>

Attributes 

Attribute NameAttribute TypeDescriptionRequired?API VersionAccess
idStringAn identifier that allows the component to be referenced by other components in the page. 14.0global
ideaIdStringThe ID for the idea to be displayed.Yes43.0
pageApexPages.PageReferenceThe Visualforce page whose URL is used for the output link. This page must use the standard controller.Yes43.0
pageNumberIntegerThe desired page number for the comments on the idea detail page (50 per page). E.g. if there are 100 comments, pageNumber=“2” would show comments 51-100. 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
styleStringThe style used to display the detailOutputLink component, used primarily for adding inline CSS styles. 43.0
styleClassStringThe style class used to display the detailOutputLink component, used primarily to designate which CSS styles are applied when using an external CSS stylesheet. 43.0