Activity Forums Salesforce® Discussions How can we hide 'new' Button on Sobject tab in salesforce?

  • Tanu

    Member
    August 26, 2016 at 1:44 pm

    Hello Mohit,

    We can't hide 'new' Button on Standard Object we can override it with visualforcepage,

    and try these to hide in custom object and in related list
    Go to the page layout on which you want to hide new button. Scroll down to the related list, click on related list properties, a new window will open. In the bottom of the window you will see a Button section with a + sign on it. Expand this section, you will find a checkbox as shown below. Uncheck it and the new standard button will be removed from the related list.

    Go into the custom object's definition and scroll down to the Search layouts section, and look at the <SObject> List View for your custom object.  The 4th column from the left ('Buttons Displayed') shows you which buttons are currently displayed when you are on the list view.

     

    Clicking Edit next to the List View will bring you to the selection screen where you can add/remove the Standard Buttons as well as any custom buttons that you may have created.

     

    I hope this helps you out!

     

  • Piyush

    Member
    August 26, 2016 at 2:23 pm

    Hello

    Yes, You can  hide "new" button on  Standard Object using the home page component . In background of the home page component you should write your java script code to hide the new button.

    This might be helped you to hide New button.

    Thanks.

    • This reply was modified 8 years, 2 months ago by  Piyush.
  • gopal

    Member
    June 6, 2017 at 1:55 pm

    Hello piyush,

    could you please share the code for hiding  a  "new"  standard button through java script

    I was past 3 days straggled for this one......thanks in advance..

    could you please help on this..or give miss call on this number(+91 9739969134).

    Thanks & Regards

    Gopal M.

  • Ayush

    Member
    July 7, 2017 at 10:34 am

    Hello Piyush,

    Can you please Share the Steps for hiding the "New " Button on "Recent View" on Object Tab. Please Reply ASAP.

    Thanks & Regards,

    Ayush Somani

Log In to reply.

Popular Salesforce Blogs