Describe the capabilities of and use cases for external objects.
External objects represent data stored in external systems as Salesforce objects. This allows using Salesforce features for external data. External objects can be linked to internal and other external objects with special relationship types.
External objects map to data sources outside Salesforce. Like any other Salesforce object, they contain fields which are defined by the external data source.
External objects must be associated with an external data source. The external data source specifies the connection to the external system, from which the external data is originating.
External objects can be linked to internal or other external objects, by using different relationship types. Relevant object relationships for external objects are Lookup, Indirect Lookup, and External Lookup.
Links a child standard, custom, or external object to a parent standard or custom object.
Used when the external data includes a column that identifies related Salesforce records by their 18-character IDs.
When you create a lookup relationship field on an external object, enter the External Column Name that contains the 18-character Salesforce IDs for identifying the parent records.
Links a child external object to a parent standard or custom object.
Used when the external data doesn’t include Salesforce record IDs.
When you create an indirect lookup relationship field on an external object, you specify the parent object field and the child object field to match against each other. Specifically, you select a custom unique, external ID field on the parent object to match against the child’s indirect lookup relationship field, whose values are determined by the specified External Column Name.
Only objects that have a custom field with the External ID and Unique attributes are available as parent objects in indirect lookup relationships. If you don't see the desired object when you create an indirect lookup relationship field, add a custom unique, external ID field to that object.
Used when the parent is an external object.
Links a child standard, custom, or external object to a parent external object.
The values of the standard External ID field on the parent external object are matched against the values of the external lookup relationship field. For a child external object, the values of the external lookup relationship field come from the specified External Column Name.