Newer Version Available
Set Up Salesforce Connect to Use Your Custom Adapter
After you create your DataSource.Connection and
DataSource.Provider classes, the Salesforce Connect custom adapter becomes available in Setup.
Complete the tasks that are described in “Access External Data with a Custom Adapter for Salesforce Connect” in the Salesforce Help.
To add write capability for external objects to your adapter:
- Make the external data source for this adapter writable. See “Define an External Data Source for Salesforce Connect—Custom Adapter” in the Salesforce Help.
- Implement the DataSource.Connection.upsertRows() and DataSource.Connection.deleteRows() methods for the adapter. For details, see Connection Class.