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

Can a VF page be added to related list and how?

I created an Opportunity extension class and page, which retrieves related Deals. I could add this page to the Opportunity page layout but not as a related list.


Is there a limitation that the VF page can not be added to the related list or it's the way I defined the page? I am new to VF and pointers or useful code snippet will be appreciated.





Message Edited by prabhutum on 04-27-2009 07:13 AM
Best Answer chosen by Admin (Salesforce Developers) 
I've asked this same question, and it appears that at this point you cannot append a Visualforce page as a related list.  What you can do of course is override the entire page and use the <apex:details relatedlist="false"/> tag to bring in the details according to the assigned page layout and then just add on your custom code in the page.