Loading
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Override Standard Buttons and Tab Home Pages

          Override Standard Buttons and Tab Home Pages

          You can override the behavior of standard buttons—like New, View, or Edit—in Salesforce Classic, Lightning Experience, and mobile independently. You can also override the tab home page that displays when a user clicks a standard, custom, or external object tab.

          Required Editions

          Available in: Salesforce Classic and Lightning Experience

          Available in: Enterprise, Performance, Unlimited, and Developer Editions

          Visualforce overrides also available in: Contact Manager, Group, and Professional Editions

          Record types available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions

          User Permissions Needed
          To override standard buttons and tab home pages: Customize Application
          To reset button and tab home page overrides: Customize Application

          Button overrides are global. For example, if you override the New button on opportunities, your replacement action takes effect wherever that action is available, including:

          • Opportunities home page
          • Any opportunities related lists on other objects, such as accounts
          • Create New dropdown list in the Salesforce Classic sidebar
          • Any browser bookmarks for this Salesforce page
          1. From the object management settings for the object you want to set an override for, go to Buttons, Links, and Actions.
          2. Click Edit next to the button or tab home page you want to override.
          3. For each experience—Salesforce Classic, Lightning Experience, or mobile—click the type of override you want associated with the action.
            You have a few options for overrides.
            Important
            • No override (use default)—Use a custom override provided by an installed package. If there isn't one installed, the standard Salesforce behavior is used.
            • Standard page—This option is available only for subscribers who are overriding the actions on an installed custom object. If selected, the standard Salesforce behavior is used.
            • Custom s-control—Use the behavior from an s-control. This option isn’t supported for mobile.
              Important
              Important Visualforce pages supersede s-controls. Organizations that haven't previously used s-controls can’t create them. Existing s-controls are unaffected and can still be edited.
            • Lightning component—Use the behavior from a Lightning component. Supported only for the Edit, New, New Event, Tab, and View actions. This option isn’t supported for Salesforce Classic.
            • Lightning page—Use the behavior from the Lightning record page assigned as the org default for the object. This option is available only for the View action in Lightning Experience.
            • Visualforce page—Use the behavior from a Visualforce page.
            • Use the Salesforce Classic override—Inherits the behavior from the Salesforce Classic Override setting.
          4. Select the name of the s-control, Lightning component, Lightning page, or Visualforce page you want to run when users click the button or tab.
            Important
            Important When a Salesforce mobile app user clicks New to create a product, the user must select a record type even if the Skip record type selection page option is selected in Setup.
          5. Save your changes
          Note
          Note A standard button—New, Edit, View, Delete, and Clone—that is overridden with a Visualforce page doesn’t show up in the Salesforce mobile app unless the Visualforce page is enabled for Salesforce mobile apps. Overriding standard list and tab controls isn’t supported in mobile.
           
          Loading
          Salesforce Help | Article