1 Jan 2019

Populate StandardSetController from Salesforce Data API

Requirements:
  1. Retrieve > 50,000 sObjects for a table

  2. Page can’t be in “Read Only” mode

  3. Object > 2 million unindexed records (can’t use SOQL)

This solution uses chained calls to the Salesforce Data API that parses the returned JSON into sObjects.

View Gist