0

I have googled a lot but do not found any supportive document for guidance. I have a standard Files upload option under Task(Standard) object. We have a scenario like users will not have permission to delete the file. But I do not find any way to remove this delete Option from UI.enter image description here

Please suggest.

  • 1
    You have to write a trigger for it onDelete on ContentDocument – Pranay Jaiswal Mar 27 at 11:15
0

Have you set up the user in question permissions correctly?

Setup -> Manage Users -> Users -> Find the users and click on their profile -> System Permissions -> 'Edit Tasks' and then revoke edit access like so by unchecking the checkbox: enter image description here

  • Hi Harry, but this user can edit the task. Need to prevent file deletion only. Also, I tried to uncheck Edit Tasks Permission on his profile, User still able to delete the file. – VDahiya Apr 3 at 5:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.