5

Is there any way to gain access to the standard "Insufficient Privileges" page that everyone knows and loves(hates), in order to edit/replace it with something else?

I imagine something along the lines of creating a Visualforce page to render in its stead, but I'm not sure how to call it.

6

Well you definitely wouldn't be able to override it... The best you could do is write a function that checks permissions before executing whatever action, and then direct to your custom page. This would effectively "catch the exception" caused by lack of privilege (although its not actually an exception lol)

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.