Updates a CRM Analytics replicated dataset by ID.

updateReplicatedDataset uses this CRM Analytics API resource.

  • id— (Required) The ID of the replicated dataset.
  • replicatedDataset— (Required) The replicated dataset information to update. Use a Replicated Dataset Input resource.

There are several ways to use updateReplicatedDataset. For example, you can display a list of replicated datasets and update the connection mode, the full refresh setting, or the pass through filter.

This example adds an update button to a page with replicated datasets. The page must contain form elements for the information required to update the replicated dataset, like the connection mode. Updating a replicated dataset displays a toast message using the lightning/platformShowToastEvent module.

This button calls the updateReplicatedDataset() method.