Client-Driven and Server-Driven Paging for Salesforce Connect OData Adapters
It's common for Salesforce Connect queries of external data to have a large result
set that's broken into smaller batches or pages. You can decide whether to have the paging
behavior controlled by the external system (server-driven) or by the OData adapter for
Salesforce Connect (client-driven).
Required Editions
Available in: both Salesforce Classic and Lightning Experience (not for high-data-volume
external objects)
Available in: Developer Edition
Available for an extra cost
in: Enterprise, Performance, and Unlimited
Editions
By default, the OData adapters for Salesforce Connect use client-driven paging.
Specifically, the OData requests use the $top and
$skip system query options to page through the
result set.
With server-driven paging, the external system determines the page sizes and batch
boundaries. The external system’s paging settings can optimize the external system’s
performance and improve the load times for external objects in your org. Also, the
external data can change while your users or the Lightning Platform are paging through
the result set. Typically, server-driven paging adjusts batch boundaries to accommodate
changing external data more effectively than client-driven paging.
The Server Driven Pagination field on the external data source
specifies whether to use client-driven or server-driven paging. If you enable
server-driven paging on an external data source, Salesforce ignores the requested page
sizes, including the default queryMore() batch size
of 500 rows. The pages returned by the external system determine the batches, but each
page can’t exceed 2,000 rows. However, the limits for the OData adapters for Salesforce
Connect still apply.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.