Triggers the CRM Analytics data connector to run a data sync. This call is the equivalent of clicking Run Now in the CRM Analytics Data Manager UI.

ingestDataConnector uses this CRM Analytics API resource.

  • connectorIdOrApiName— The ID or developer name of the data connector.

A Promise object that resolves with the Restore Dataset Version response.

Use ingestDataConnector to trigger a data sync for a CRM Analytics connector. For example, you can display a list of data connectors and enable data sync for each connector on the list. Running a data connector displays a toast message using the lightning/platformShowToastEvent module.

This button calls the ingestDataConnector() method.