I have a requirement where I need to remember the state of Visual page. This is required for example in case of governor limit.
Can we do this with static JS or is there any JS API available?
I have a requirement where I need to remember the state of Visual page. This is required for example in case of governor limit.
Can we do this with static JS or is there any JS API available?
If the error is caused by governor limit in apex code, you can catch it by following code: try{ ... } catch(LimitException){ ... }; If the error is caused by visualforce page limit(e.g., ViewState limit.), there is no good way to catch exception. But you can avoid govern limit by salesforce best-practice code.