createReplicatedDataset
Creates a replicated dataset, also known as a connected object.
createReplicatedDataset
uses this CRM Analytics API resource.
Parameter Name | Type | Description | Required? |
---|---|---|---|
replicatedDataset | Object | The connected object instance to create. Use a Replicated Dataset Input resource. | ![]() |
- A Promise object that resolves with the Replicated Dataset response.
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.