Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When you query a Salesforce for a large number of object records, often you will only get 2000 records. To retrieve all the records requires you programmatically check the response object to see if there are more records. S4S encapsulates this in its EntitysFromQueryResult() method as seen in the example below. Note the method has the returnAll parameter set to true. 

Sample code snippet for retrieve Salesforce campaign members of multiple Salesforce campaigns via S4S.

...