I've created a visual workflow that will allow users that has custom permission to delete activities (calls, emails...) and a delete custom button have been created to trigger the flow and override the standard delete button. However, I also need to override the del link in the related list in order to prevent users that don't have custom permission to delete activities. Is there a way to override or remove the del link option from the action column in the related list or I really need to create a VF page to prevent the deletion? Suggestions?
Asked
Active
Viewed 1,192 times
1 Answers
1
Yes, you need to overwrite the entire related list with a Visualforce Page. It used to be able to be possible by injecting stylesheets and scripts and the like, but that has been disabled for some time.
See also: End of javascript sidebar workarounds?
Adrian Larson
- 149,971
- 38
- 239
- 420
before deletetrigger and catch the delete action that way – cropredy Aug 29 '16 at 18:24