• alex51atlasw
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I've create a visualforce page which contains all the counts of data associated to a particular user (i.e. num prospects, num opportunities, num tasks, etc), when a user clicked on any of the numbers they would be redirected to a detail page containing a list of all those particular objects. Once in production we ran into "Maximum view state size limit (128K) exceeded" issue. To fix this I added the transient keyword to each of these variable lists which contain the count. However, when the user clicked on any link containing the object count, the page would no longer be redirected to the appropriate page but rather just refresh the current one. Upon clicking the count links I query for the objects again so its not an issue with the variables not in the view state, it just seems to be an issue with having the transient keyword and not allowing me to redirect. Any ideas as to why this is happening?

 

I can provide code if needed. Thanks in advance.

I've create a visualforce page which contains all the counts of data associated to a particular user (i.e. num prospects, num opportunities, num tasks, etc), when a user clicked on any of the numbers they would be redirected to a detail page containing a list of all those particular objects. Once in production we ran into "Maximum view state size limit (128K) exceeded" issue. To fix this I added the transient keyword to each of these variable lists which contain the count. However, when the user clicked on any link containing the object count, the page would no longer be redirected to the appropriate page but rather just refresh the current one. Upon clicking the count links I query for the objects again so its not an issue with the variables not in the view state, it just seems to be an issue with having the transient keyword and not allowing me to redirect. Any ideas as to why this is happening?

 

I can provide code if needed. Thanks in advance.