Create an External Data Source and External Objects
Add an External Data Source
In a real production system, you would use Salesforce Connect to access data in a back-end system, such as SAP or Microsoft SharePoint. In this task, you connect to a sample data source running on Heroku.
- From Setup, type
External Data
into the Quick Find text box. Click External Data Sources and select New External Data Source. - Enter
OrderDB
for External Data Source and name the data sourceOrderDB
, and select Salesforce Connect: OData 2.0 as the type. - Enter
https://orderdb.herokuapp.com/orders.svc
as the URL. Leave the other fields with their default values, and click Save. - On the next screen, click Validate and Sync. Salesforce Connect retrieves the schema from the external system.
- Select both the Order and OrderDetail tables, and click Sync.
Scroll down to see the new external objects. Click them to see their fields.