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
ajitvermaajitverma 

How to prevent user from deleting emails available in related list on Case detail page

Hi All,

 

Is there any way to remove 'DEL' option from Email realted list available on Case detail page? Basically we want to prevent the user from deleting Email messages received against the case.

 

This can be achieved by writing trigger on Email Message object but I am looking for any OOB functionality. I don't find any setting available under profile.

 

 

 

 

sfdcfoxsfdcfox

Only way I'm aware of OOTB is to turn off Edit Tasks on the user's profile... This might be a bit more of a restriction than you'd like to set, I'm sure.

ajitvermaajitverma

Hi sfdcfox,

 

Turnning off tasks will restrict the user from creating/editing tasks but does not solve the purpose to restrict from deleting emails.