(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
(Default)

・Process speed is fast as processed in the client screen

・Process speed is fast as processed in the client screen
・Possible to sort out multiple fields

・Mass amount of display data (fields and records) may cause View State error
・The display speed may be impacted to client's performance.

Server Side

・Transmit to the server side and display the page (partially) again

・Transmit to the server side and display the page (partially) again
・Possible to sort single field

・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. 
 The process speed is slow.
・Changed data must be saved before paging.

・Access to server and run query to acquire new data.
 The process speed is slow.
・Single items can be sorted.
・Changed data must be saved before sorting.

・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 >.