List of questions
Related questions
Question 324 - Certified Platform Developer II discussion
There is an Apex controller and a Visualforce page in an org that displays records with a custom filter consisting of a combination of picklist values selected by the user.
The page takes too long to display results for some of the input combinations, while for other input choices it throws the exception, *Maximum view state size limit exceeded.
What step should the developer take to resolve this issue?
A.
Split the layout to filter records in one Visualforce page and display the list of records in a second page using the same Apex Controller.
B.
Adjust any code that filters by picklist values since they are not indexed.
C.
Use a StandardSetController or SOQL LIMIT in the Apex controller to limit the number of records displayed at a time.
D.
Remove instances of the transient keyword from the Apex controller to avoid the view state error.
Your answer:
0 comments
Sorted by
Leave a comment first