Activity › Forums › Salesforce® Discussions › How can we hide ‘new’ Button on Sobject tab in salesforce?
Tagged: Custom Button, List View, Salesforce sObject, Salesforce Visualforce Page, Standard Button, Tabs
-
How can we hide ‘new’ Button on Sobject tab in salesforce?
Posted by Mohit on August 22, 2016 at 3:00 PMHi All,
How can we hide ‘new’ Button on Sobject tab in salesforce?
The scenario is that when we click the account tab then we see the new button to create a account is there any way that we can hide that new button.
Thanks in Advance
Ayush replied 8 years, 10 months ago 5 Members · 4 Replies -
4 Replies
-
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!
- [adinserter block='9']
-
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 9 years, 8 months ago by
Piyush.
-
This reply was modified 9 years, 8 months ago by
-
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.
-
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.