You need to sign in to do that
Don't have an account?
sai tarun
how do we reduce size of the view state when view state error occurs.......????
how do we reduce size of the view state when we got view state error??????
please tell me in detail , with example if possible......
Thanks in advance........
please tell me in detail , with example if possible......
Thanks in advance........
As its name suggests, it holds the state of the page - state that includes the components, field values, and controller state.
The data in the view state should be sufficient to recreate the state of the page when the postback is received. To do this, it stores the following data:
Developer environments have a view state inspector, which lets you view the contents of the view state. This information can help you in optimizing the view state size. Once enabled, it shows up as a tab in Development Mode, as follows. you can enable that from
Edit User-> Select view state checkbox after development mode checkbox.
Check your view state as shown above
Here are some quick tips which will help you to reduce view state size without using transient keyword
For more information please check with below link.
- https://help.salesforce.com/articleView?id=000221049&type=1
Hope this helps.Please mark this as solved if the information helps so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks,
Nagendra