You need to sign in to do that
Don't have an account?
Harish1234
how to disable the standard button?
Hi
i have a case(sobject), whenever case is close then i want to disable the edit or delete button how it is possible .. will any one help me
i have a case(sobject), whenever case is close then i want to disable the edit or delete button how it is possible .. will any one help me
Validation rule formula to avoid edits on a closed case:
Trigger to avoid edits and deletes on a closed case:
If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.
Thanks,
Shashank
The first will prevent users from even having the edit/delete option, but note that they can still edit/delete if they are not doing it from the page layout (ie list view, related list, api, etc)
The second is more robust and covers all cases, however, users will still see the option to edit/delete (even though it will fail). You also might need to change the formula to PRIORVALUE( IsClosed) = true