Is it possible to make a visualforce page as a replacement for the standard page layout for viewing Contacts record detail page for instance? I'm not talking about inline Visualforce page addition to the Contact layout. I meant to use the whole vsp as the standard view of said object. Thanks in advance!

1 Answer 1


Yes, simply add a Standard Controller to the page:

<apex:page standardController="Contact" ...

And then you can go to Setup > Customize > Contacts > Buttons, Links, and Actions, and edit the View button. All users will then see the new Visualforce page when viewing a contact.

See Overriding Buttons, Links, and Tabs with Visualforce for more information.

  • Gee, I was dissecting the Contact Layout for this and it was in another setting all along. That helped, thanks a bunch!
    – rae
    Jul 13, 2017 at 2:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .