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
srikanth123srikanth123 

Delete permissions on Acitivity

Hi All,

 

I have a requirement where in no user  should be able to delete the tasks or events. Any ideas on how to achieve this?

 

Thanks

Srikanth

sales4cesales4ce

Srikanth,

 

Go to the Users Profile and Navigate to "General user permissions " section on the profile.

Uncheck the below two permissions:

 

Edit Events and Edit Tasks.

 

This will make sure that the user cannot delete any activities. 

 

Hope this helps.

 

Regards,

Sales4ce

srikanth123srikanth123

saels4ce,

 

In such a case the user will not be able to create tasks and events. In my case I should restrict the users from deleting the activities but not from creating or editing.

 

Thanks

Srikanth

SAPOCSAPOC

You can remove Delete button from Task and Event pagelayouts.

srikanth123srikanth123

Yes i can remove the delete button on the pagelayouts. But what about the related lists under Case or Lead. How do i remove the delete button on those related lists with out using the homepage component and scontrols?

Bayarea 101Bayarea 101
what my understanding is you can do that. 
Michal KaparMichal Kapar
Currently unfortunately it's not available. :(

Idea posted 8 years ago - https://success.salesforce.com/ideaview?id=08730000000BrENAA0

Workaround by Trigger or override the Delete button on the Task object. - https://success.salesforce.com/answers?id=90630000000hfWSAAY