Newer Version Available

This content describes an older version of this product. View Latest

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.
  1. From Setup, click Object Manager, and then click the object that you want to set an override for.
  2. Click Buttons, Links, and Actions, and then select Edit from the dropdown of the button or tab home page that you want to override.
  3. 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.
  4. To apply the same selected Visualforce page in Lightning Experience or the Salesforce mobile app, select Use the Salesforce Classic override.
  5. Save your changes.