function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ramiya KandeepanRamiya Kandeepan 

How to remove/hide "Save & New" button for custom object

Is there any way to remove/hide "Save & New" button from particular custom object?  If so, can someone provide the steps for it pls?

Thanks!
Jason Curtis NBSFDGJason Curtis NBSFDG
Hi, Ramiya, the best way to hide those buttons is to make sure the profile of the user viewing the record doesn't have permission to edit or create a new record.

There is an idea on the idea exchange to add the option to remove: https://success.salesforce.com/ideaview?id=08730000000BrXMAA0


Grazitti TeamGrazitti Team
Hi,

You can also try writing script, get the id if the button and On page load event, set the display of that button as 'none'.

For more details refer the post below :

https://developer.salesforce.com/forums/ForumsMain?id=906F00000009DqWIAU

Thanks!
Jason Curtis NBSFDGJason Curtis NBSFDG
Be careful, JavaScript on homepage components is going to be depricated by Salesforce, so these types of solutions might not work in the very near-future.
http://docs.releasenotes.salesforce.com/en-us/summer14/release-notes/rn_forcecom_home_page_components.htm

Sagar PareekSagar Pareek
Edit the profile of the user, do not give permission to edit or create a new record.