updateDataConnector
Updates a CRM Analytics data connector.
updateDataflowJob
uses this CRM Analytics API resource.
connectorIdOrApiName
— (Required) The ID or developer name of the data connector.dataConnector
— (Required) The data connector instance to update. Use a Data Connector Input resource.
- A Promise object that resolves with the Data Connector response.
There are several ways to use updateDataConnector
. For example, you can display a list of data connectors and update the connection properties, label, or description.
This example adds an update button to a page with data connectors. The page must contain form elements for the information required to update the connector, like the label. Updating a data connector displays a toast message using the lightning/platformShowToastEvent
module.
This button calls the updateDataConnector()
method.