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

Related List in VF page layout- How to redirect?

Hey guys,


I have a visualforce page that I have placed in an object's page layout(for profile permissions purposes). Now when you click on a button in related lists... like new contact, the new page opens up within the page layout space where the VF page is placed. How do I make it so that the page redirects to the propper url and not stay in the contained page layout?



Rahul SharmaRahul Sharma

Hi b-liu,

Have you overidden the new button or its in your visualforce page?