createReplicatedDataset

Creates a replicated dataset, also known as a connected object.

createReplicatedDataset uses this CRM Analytics API resource.

Use createReplicatedDataset to create a connected object. For example, create a connected object for Asset data with the connectorId, connectionMode, and sourceObjectName.

This example adds a create button to a page. The page must contain form elements for the information required to create the connected object, like the sourceObjectName. Creating a connected object displays a toast message using the lightning/platformShowToastEvent module.

This button calls the createReplicatedDataset() method.