createDatasetVersion
Creates a version of a CRM Analytics dataset.
createDatasetVersion
uses this CRM Analytics API resource.
datasetVersion
— (Required) The dataset version to create. Use a Restore Dataset Version Input resource.
- A Promise object that resolves with the Restore Dataset Version response.
Use createDatasetVersion
to create a version of a CRM Analytics dataset. For example, create a version of the Accounts dataset with updated data.
This example adds a create button to a page. The page must contain form elements for the information required to create the dataset version, like the dataset ID. Creating a dataset version displays a toast message using the lightning/platformShowToastEvent
module.
This button calls the createDatasetVersion()
method.