function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
adrisseladrissel 

Ideas Visualforce Page instructions confusing!!!

I am trying to create a VF page that is essentially identical to the standard Salesforce Ideas page (Zones, tabs, et al).  To get started I am trying to follow the instructions for this laid out here: http://www.salesforce.com/us/developer/docs/pages/index.htm (search for Ideas).

There the following VF code is listed:
<!-- page named listPage -->
<apex:page standardController="Idea" extensions="MyIdeaListExtension" 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="{!modifiedIdeas}" var="ideadata">
            <ideas:detailoutputlink ideaId="{!ideadata.id}" page="viewPage">
             {!ideadata.title}</ideas:detailoutputlink>
        </apex:dataList>
    </apex:pageBlock>
</apex:page>

When I attempt to use this I get the error:
Error: Unknown page listPage referenced by attribute page in <ideas:listOutputLink> in listPage at line 3 column 61

I am totally confused!!!  Do I need a separate VF page named "listPage" (I tried a blank page with that name and it still threw the same error).

(1) Can I even create a VF page that is a duplicate (or as close as possible) to the Standard Ideas page?
(2) How can I do that?

Thanks!!!
Best Answer chosen by adrissel
SonamSonam (Salesforce Developers) 
What you are using here is a salesforce custom component:> ideas:listOutputLink

reference:
https://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_ideas_listOutputLink.htm

To use this component, please contact your salesforce.com representative and request that the Ideas extended standard controllers be enabled for your organization

Did you get this enabled in your ORG?
 

All Answers

SonamSonam (Salesforce Developers) 
What you are using here is a salesforce custom component:> ideas:listOutputLink

reference:
https://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_ideas_listOutputLink.htm

To use this component, please contact your salesforce.com representative and request that the Ideas extended standard controllers be enabled for your organization

Did you get this enabled in your ORG?
 
This was selected as the best answer
adrisseladrissel
Thanks Sonam.  I will double check on that.  If issues persist afterwards I will get back with you.

Just as a follow-up question, though...do you know if #1 I asked is possible?  Can I essentially duplicate Ideas functionality using custom VF code?
SonamSonam (Salesforce Developers) 
Came across this thread where user has tried to create a similar community: https://developer.salesforce.com/forums/ForumsMain?id=906F000000096HbIAI

worth a read!
Richa_LearningRicha_Learning
I got this enbaled for my org. but am still getting this error. Please help.
I have copy pasted the same code mentioned above
Richa_LearningRicha_Learning
Can you please what classes and Pages need for this functionality?
 
SonamSonam (Salesforce Developers) 
Richa, please check the Ideas section in the following guide and use the classes and pages mentioned there:
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#StartTopic=Content/apex_pages_ideastandardcontroller.htm?SearchType=Stem
Mark Rossiter 3Mark Rossiter 3
How did you get on with this adrissel? I'd like to know if you encountered any further snags, as I am about to start this process also, I'd like to avoid the pitfalls. Mainly I'm hoping to replicate the dropdown filters available in the SF UI.