Salesforce
PDII · Question #55
A developer must create a custom pagination solution for accessing approximately 2000 records and displaying 50 records on each page. Data from Salesforce will be accessed via an API and not via…
The correct answer is C. Use OFFSET in SOQL queries D. Use LIMIT 50 in SOQL queries. See the full explanation below for the reasoning.
Question
A developer must create a custom pagination solution for accessing approximately 2000 records and displaying 50 records on each page. Data from Salesforce will be accessed via an API and not via Apex. How can the developer meet these requirements? (Choose two.)
Options
- AUse a StandardSetController
- BUse CURSOR 50 in SOQL queries
- CUse OFFSET in SOQL queries
- DUse LIMIT 50 in SOQL queries
How the community answered
(59 responses)- A7% (4)
- B15% (9)
- C78% (46)
Community Discussion
No community discussion yet for this question.