Newer Version Available
Override Buttons, Links, and Tabs with Visualforce
Override the behavior of standard buttons—such as New, View,
and Edit—in Salesforce Classic, Lightning Experience, and the
Salesforce mobile app. You can also override the tab home page that displays
when a user clicks a standard, custom, or external object tab.
- From Setup, click Object Manager, and then click the object that you want to set an override for.
- Click Buttons, Links, and Actions, and then select Edit from the dropdown of the button or tab home page that you want to override.
- To override the behavior in Salesforce Classic, select Visualforce page as the override type, and the select the Visualforce page that you want to run when users click the button or tab.
- To apply the same selected Visualforce page in Lightning Experience or the Salesforce mobile app, select Use the Salesforce Classic override.
- Save your changes.