Activity Forums Salesforce® Discussions What is ViewState in Salesforce?

  • Kirandeep

    Member
    February 14, 2020 at 1:25 pm

    Hi Anjali ,

    ViewState holds state of the visualforce page that holds state that includes the fields, components and controller state.

  • Shweta

    Member
    February 14, 2020 at 1:30 pm

    ViewState: It holds the state of the visualforce page and the state includes the fields, components and controller state. The data of ViewState is encrypted and cannot be viewed as tools like firebug. It Stores Objects that are reachable from a non-transient data member in a controller or extension and it also Stores all the public and private data members present in Standard, Custom and Controller extensions.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos