Skip to main content
The Trailblazer Community will undergo maintenance on Saturday, November 15, 2025 and Sunday, November 16, 2025. Please plan your activities accordingly.

时间估计

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.

  1. From Setup Quick Find, search and select External Data Sources.
  2. Click New External Data Source.
  3. Enter OrderDB for External Data Source and name the data source OrderDB.
  4. Select Salesforce Connect: OData 2.0 as the type.
  5. Enter https://orderdb.herokuapp.com/orders.svc as the URL.
  6. Leave the other fields with their default values, and click Save.
  7. On the next screen, click Validate and Sync. Salesforce Connect retrieves the schema from the external system.
  8. Select both the Order and OrderDetail tables.
  9. Click Sync.

Scroll down to see the new external objects. Click them to see their fields.

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈