JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
Salesforce Pack Documentation
Share
Explore
Gallery
Salesforce Pack Documentation
Salesforce Pack Documentation
Salesforce Pack Documentation
Install the pack
Sync a report
Make edits
General settings
Objects
Fields
SOQL
Formulas
Standard Formulas
Lookup Formulas
LookupRecords
Formula Builders
Formulas
LookupRecords
Formula that looks up to any ObjectType in Salesforce
LookupRecords formula details
LookupRecords formula details
1
LookupRecords()
Open
Lookup one or more records in Salesforce.
No results from filter
Parameters
Required
account
: The Salesforce account used to pull in this data.
objectType
: The object type (Account, Opportunity, MyObject__c, etc.)
Optional
filter
: Filter results using Salesforce native SOQL WHERE clause.
sort
: Sort results using Salesforce native SOQL ORDER BY clause.
limit
: Limit the result count.
offset
: Offset the result count.
fields
: The fields to fetch on the retrieved records. By default, this formula fetches as many fields as possible up to Salesforce's limit
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.