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
Ravi_SFDCRavi_SFDC 

Hide Edit, Delete Options on a record

User-added image

How can i remove the EDIT, Delete and Change Owner options on the record of a custom object.

Regards
Ravi

 

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Ravi,

Do you mean you want to remove these options for all the users?

Thanks,
 
Ravi_SFDCRavi_SFDC
Yes, might me ignore Sys Admin
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Ravi,

You can remove those buttons under "Mobile and Lightning Actions" in the pagelayout. 

You can create another pagelayout and add those and assign it to system admin profile.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,