createDatasetVersion

Creates a version of a CRM Analytics dataset.

createDatasetVersion uses this CRM Analytics API resource.

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.