(1)-b. Selecting the Search Results Maintenance Method
When displaying a page with a lot of search results counts or heavy records, sometimes page display restriction of Salesforce, view state happens and the page does not appear on the screen.
(FAQ:<7-6-1. Maximum view state size limit exceeded. >)
To avoid view state, you can select a way to display search result, "Search Results Maintenance Method" in data table properties.
(※To set the Search Result Maintenance Method, Paging must be checked.)
To avoid errors, you can control the data counts to display in one screen.
The below chart compares features of different Search Result Maintenance Method.
Search Result Maintenance Method | Paging | Sort | Searching Process |
---|---|---|---|
Client Side | ・Process speed is fast as processed in the client screen | ・Process speed is fast as processed in the client screen | ・Mass amount of display data (fields and records) may cause View State error |
Server Side | ・Transmit to the server side and display the page (partially) again | ・Transmit to the server side and display the page (partially) again | ・The speed of displaying search results is fast as only the record on display is obtained from the server. |
Run Query | ・Access to server and run query to acquire new data. | ・Access to server and run query to acquire new data. | ・Query is limited to search only the necessary data to display on the page. Unlikely for ViewState error to occur. |
For more information on property setting values and show/hide property, refer to < (2)-b-1. Display Settings >.