You need to sign in to do that
Don't have an account?
Raghavendra A
Visualforce page and View State
Hi All,
I am working on the following requirement where on a Case detail page I need to provide a custom button, when clicked we need to show Case detailes and all its related records in detailed mode as a PDF. We need to show in a PDF the following:
I am mainly worried about the view state here. There would be so many records returned, many SOQL queries and even all fields needs to be displayed in detailed mode in a single page. Can any of you suggest me the best approaches to take here so that I do not hit a View state error. Also any suggestions on approaching to this solution will be highly appreicated.
Thanks a lot in advance!
Raghu
I am working on the following requirement where on a Case detail page I need to provide a custom button, when clicked we need to show Case detailes and all its related records in detailed mode as a PDF. We need to show in a PDF the following:
- Case record details
- All related items on a Case in detailed mode, not as a list view for ex, Customers associated a Case, and other custom objects.
- Even the Customer object that I mentioned is a Custom object that has many related items, even that also has to be shown in the detailed mode.
I am mainly worried about the view state here. There would be so many records returned, many SOQL queries and even all fields needs to be displayed in detailed mode in a single page. Can any of you suggest me the best approaches to take here so that I do not hit a View state error. Also any suggestions on approaching to this solution will be highly appreicated.
Thanks a lot in advance!
Raghu
readOnly attribute of <apex:page>
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_page.htm