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
FinneyFinney 

Remove action buttons (Edit, Delete) from the related list display?

Hi

 

Can we remove the edit and delete button shown in the left side of the salesforce related list?

 

If so can anyone please tell me how to do that.

 

Thanks

 

Finney

Best Answer chosen by Admin (Salesforce Developers) 
goabhigogoabhigo

Those are links, not button (but their action is same as buttons). As far as I remember you cannot simply remove/hide those. You can either removed Edit, Delete permission to that object from profiles OR you need to override the Edit and Delete button using VF page.

All Answers

goabhigogoabhigo

Those are links, not button (but their action is same as buttons). As far as I remember you cannot simply remove/hide those. You can either removed Edit, Delete permission to that object from profiles OR you need to override the Edit and Delete button using VF page.

This was selected as the best answer
FinneyFinney

Thanks a lot Abhi.

 

I have removed the Edit, Delete permission from the object and it worked.

 

Appreciate your help.

 

Kind Regards

 

Finney

SK R.ax1448SK R.ax1448

Hi Finney,

 

I am having similar requirement, can you please let me know where to remove delete permissions ?

 

 

Thanks in advance !

 

SK

john Saavedrajohn Saavedra
im using Visual forge manage to delete the button but i cant find a way to remove action Edit / del
keerthi achantikeerthi achanti
I want to remove delete action from related list on community page.

How can I achieve this?

I removed permission that worked on lightning page not on community page.

please give your input for the above