Set Up Lightning Connect to Use Your Custom Adapter

After you create your DataSource.Connection and DataSource.Provider classes, the Lightning Connect custom adapter becomes available in Setup.

Complete the tasks that are described in “Access External Data with a Custom Adapter for Lightning Connect” in the Salesforce Help.

To add write capability for external objects to your adapter:
  1. Make the external data source for this adapter writable. See “Define an External Data Source for Lightning Connect—Custom Adapter” in the Salesforce Help.
  2. Implement the DataSource.Connection.upsertRows() and DataSource.Connection.deleteRows() methods for the adapter. For details, see Connection Class.
Previous
Next