function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MaddyConnectMaddyConnect 

View state and PDF issue

Hi,

I have VF page which display case history, but sometime due to large number of case history records, page exceeds limit of ViewState. Then I use k/w "Transient" for list I used to collect CaseHistory records and it's working. On same page I have button called "Preview PDF", which fails to render PDF of CaseHistory displayed on this VF due to k/w transiet. Any alternate to handle data exceeding viewstate limit in my scenario so that I can render PDF too.

 

Any help will be appriciated.


Thanks!
Maddy