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
Naganjaneya Lakshman TadepalliNaganjaneya Lakshman Tadepalli 

In our project for one of the standard page i,e account page user is given an button and when user clicks on button, it should open new VF page which contains the product details, Can anyone help me with code to implement the Visualforce scenario?

William TranWilliam Tran

Do you want this screen to override the current out of the box edit button to go to the VF page?  

If yes,  go to setup/build/customize/accounts/buttons, links and actions

Click edit on the "Edit" button and choose override with Visualforce page then choose your page.

Now, when you edit your account, your new VF  page will show up instead of the out of the box one.

Thx