• WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service Lightning
        • Field Service for SMEs
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Data Science
      • BI Solutions
      • AI/ML solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG
    • WHO WE ARE
    • WHAT WE DO
      • Salesforce
        • Implementations
          • Sales Cloud
          • Service Cloud
          • CPQ
          • Field Service Lightning
          • Field Service for SMEs
        • Developments
          • Salesforce Customization
          • Custom Application Development
          • AppExchange Product Development
        • Migrations
          • Classic to Lightning Migration
          • Other Systems to Salesforce Migration
        • Integrations
      • Data Science
        • BI Solutions
        • AI/ML solutions
        • Agentic AI
    • HOW WE DO
      • Delivery Model
      • Our Works
    • REACH US
      • Contact Us
      • Careers
    • BLOG
  • [email protected]
  • (+91) 44-49521562
Merfantz - Salesforce Solutions for SMEs
Merfantz - Salesforce Solutions for SMEs
  • WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service Lightning
        • Field Service for SMEs
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Data Science
      • BI Solutions
      • AI/ML solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG

How to override the Salesforce New Button

  • August 27, 2020
  • Merfantz Editor
  • Salesforce Admin Tutorial, Salesforce CPQ, Salesforce Developments Tutorial, Salesforce Lightning
  • 0

In salesforce we can override the standard buttons likes New, Edit, View and Delete Button. We can customize button in salesforce classic, lightning, and salesforce mobile.Depends the environment, we can override it. The feature is of the new Button is we can able to pre-populate values and customize the field alignments with our design.

1. Salesforce Classic Override : We can override salesforce classic by visualforce page. This page markup must be include the standard Controller attribute on the <apex:page> tag.         

2. Lightning Experience Override : We can override lightning component using lightning: action Override in lightning component.

3. Mobile Override : It will same as lightning experience.

Here we have shown the example of how to override the “New” button on account in salesforce classic.

Step-1: we need Visualforce page, if we override the salesforce classic.

Create a new Visualforce page like below and must include the standard Controller = “Account” attribute on the <apex:page> tag

Step-2: Go to Setup.

Step-3: Go to the account customization setup pages, by clicking objects and fields| Object Manger | account | button, Links, and Actions.

Step-4: Then click the Buttons, links, and actions section.

Step-5: Now all the buttons are display like below image. Then choose the “New” button and click the Edit on right side corner drop Down.


Step-6: Then select the visualforce page through this drop.

Step-7: After that click the save button.

Tips:

  • We can choose to skip the record type selection page. This will not forwarded to the record type selection page.
  • Salesforce assumes that our Visualforce page is already handling record types.

Step-8: After that go to Account tab and click the New button on Account tab, it will redirect to our customized New Page.

Final Output: Screenshot for our customize page:

Reference : Limitations.

Click here to view more Salesforce blog post.

Author Bio

Merfantz Editor
+ Recent Posts
  • August 4, 2023
    How to Setup CRM Analytics for Financial Services Cloud
  • August 2, 2023
    How to Get Started with Salesforce Hyperforce - Merfantz
  • July 28, 2023
    Health Cloud Mastery: Salesforce Trailhead for Effective Healthcare CRM
  • July 26, 2023
    How to integrate Data cloud and Marketing cloud In Salesforce
  • Previous How to Implement Path in Salesforce Lightning
  • Next How to Create the Split view in Salesforce Lightning
Merfantz Technologies is a leading Salesforce consulting firm dedicated to helping small and medium enterprises transform their operations and achieve their goals through the use of the Salesforce platform. Contact us today to learn more about our services and how we can help your business thrive.

Discover More

Terms and Conditions
Privacy Policy
Cancellation & Refund Policy

Contact Info

  • No 96, 2nd Floor, Greeta Tech Park, VSI Industrial Estate, Perungudi, Chennai 600 096, Tamil Nadu, INDIA
  • (+91) 44-49521562
  • [email protected]
  • 9:30 IST - 18:30 IST

Latest Posts

Comprehensive Overview of Salesforce Agent-Force Platform
Comprehensive Overview of Salesforce Agent-Force Platform June 12, 2025
Salesforce GraphQL Revolutionizing Data Queries in CRM
Salesforce GraphQL: Revolutionizing Data Queries in CRM June 6, 2025
Unlocking the Power of Dynamic Forms in Salesforce Lightning App Builder
Unlocking the Power of Dynamic Forms in Salesforce Lightning App Builder May 29, 2025

Copyright @2023 Merfantz Technologies, All rights reserved