You need to sign in to do that
Don't have an account?
VarunC
Hide Edit/Delete Links Related List
Hi...
I want to Hide Edit and Delete links from a Related List, How can I do that.
My basic purpose is to ALLOW EDIT and DELETE ONLY through API calls in APEX or Triggers.I do not want Users to Edit any Child Related List record on there own for a Particualr Object's Related List.
How Can I do that?
Remove Edit and Delete privileges on that related object from the profile. They will disappear from the related list.
All Answers
Remove Edit and Delete privileges on that related object from the profile. They will disappear from the related list.
Trigger always run in system mode, so you can edit, delete records there.
If you give a certain profile access to a class (bottom of profile detail page) you can delete or edit records there. So you can remove the edit and delete permission from the profile.
You need to override the Edit and Delete links using a VF page.
In the visual force page show a message saying you cannot edit or delete things.