I am generating a csv file. For this i am using a visualforce page and its controller. I am able to generate csv. I am not able to see the view state of this page. Please tell me a way to view the view state of the page

  • 2
    Do you mind sharing your Apex & VF code snippets? Dec 27, 2013 at 6:09

1 Answer 1


To see view state you need to enable View State in Development Mode for your user. For enabling View State in Development Mode follow the path given

Personal Setup -> My Personal Information -> Personal Information

Edit your personal information and check 'Show View State in Development Mode' checkbox is checked or not. If not then check it and save record.

Now go to your visualforce page and refresh it. You will find a new section appended at the bottom of the visualforce page. Now click on 'view state' on that section. Here you can find all view state related information such as which variables are used on page and which variable is of what size.

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.