External objects support standard lookup relationships, which use the 18-character
Salesforce record IDs to associate related records with each other. However, data that’s stored
outside your Salesforce org often doesn’t contain those record IDs. Therefore, two special types
of lookup relationships are available for external objects: external lookups and indirect
lookups.
Required Editions
Available in: both Salesforce Classic
and Lightning Experience
Salesforce Connect is available in: Developer Edition and for an extra
cost in: Enterprise, Performance, and Unlimited Editions
Files Connect for cloud-based external data
sources is available in: Professional, Enterprise,
Performance, Unlimited, and Developer
Editions
Federated Search is available in: Enterprise,
Professional, Unlimited, and Developer Editions
External lookups and indirect lookups compare a specific field’s values on the parent object
to the relationship field’s values on the child object. When values match, the records are
related to each other.
To create an external object relationship, create a custom field on the child object with one
of the following field types. If the child is an external object, you can instead change the
field type of an existing custom field to one of the following.
Lookup Relationship
External Lookup Relationship
Indirect Lookup Relationship
This table summarizes the types of relationships that are available to external objects.
Note Federated Search supports only external lookup relationships, and the Federated Search
external object is always the parent.
Relationship
Allowed Child Objects
Allowed Parent Objects
Parent Field for Matching Records
Lookup
Standard
Custom
External
Standard
Custom
The 18-character Salesforce record ID
External lookup
Standard
Custom
External
External
The External ID standard field
Indirect lookup
External
Standard
Custom
You select a custom field with the External
ID and Unique attributes
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.