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 Quick Find, search and select External Data Sources.
- Click New External Data Source.
- Enter
OrderDB
for External Data Source and name the data sourceOrderDB
. - 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.
- Click Sync.
Scroll down to see the new external objects. Click them to see their fields.