Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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.