You need to sign in to do that
Don't have an account?
ying.ax1897
VF in pagelayout shows error
I have created a VF for attachment and put the VF into a pagelayout.
But there is an error when to get into pagelayout:
Content cannot be displayed: Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 323.953KB
Who knows this error?
Thanks.
Hello,
View state of a visualforce page can not exceed 135 KB, if it is then we need to minimize it. YOu can try following things:
1) Use transient variables (http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_keywords_transient.htm)
2) Avoide calling remote JS.
3) Use only one form tag in your page.
Refer: http://wiki.developerforce.com/page/An_Introduction_to_Visualforce_View_State