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
Raghu NaniRaghu Nani 

How to Remove Attachement Edit and Delete buttons to user

Hi ,
Once Order is completed i attached the Report to the attachement,
but need to ristrict the edit and delete that attachement from other users,
pls can any one help on this,
Andrew SchellAndrew Schell
What level of security or profile is the user?
Raghu NaniRaghu Nani
I have Created one Custom Profile in That How to Ristrict????
venkat-Dvenkat-D
Refer to this help link..create a trigger preventing users from editing or deleting attachments
http://help.salesforce.com/HTViewSolution?id=000181538
 
Raghu NaniRaghu Nani
hi venky,
in that link i got the information how to update the attachement title using trigger,
But i want to prevent Edit and delete Attachement From Users Once Created
venkat-Dvenkat-D
Yes..You can create triger on update and delete and prevent users from doing that. The help link is to help on how to create trigger on attachments as you wont have UI for attachment object.
Raghu NaniRaghu Nani
Ya Ok Thanks I got it now I can Able to Stop deleting with trigger
venkat-Dvenkat-D
if the answer helped you mark as resolved.