Activity Forums Salesforce Questions and Answers How can I get rid of view state error with more than 50k record in a list in controller?

  • How can I get rid of view state error with more than 50k record in a list in controller?

  • Rachit

    Member
    April 30, 2016 at 4:00 pm

    How can I get rid of view state error with more than 50k record in a list in controller but tried to use @read-only and making the list transition , this does not worked for me.Any help.

  • Utsav

    Member
    June 13, 2016 at 7:24 am

    Hi rachit

    viewstate error comes only when you deal large number of records on visualforce page. If you only want to use it in controller then you can use it by some workarounds but on VF page you cant deal it other then pagination which is least expected in such scenarios 😉

    Happy coding 🙂

Viewing 1 - 2 of 2 posts

Log in to reply.

Original Post
0 of 0 posts June 2018
Now