updateDataset
Updates a specific CRM Analytics dataset by ID.
updateDataset
uses this CRM Analytics API resource.
Parameter Name | Type | Description | Required? |
---|---|---|---|
datasetIdOrApiName | String | The ID or API name of the dataset. | ![]() |
dataset | Object | The dataset to update. Use a Dataset Input resource. | ![]() |
- A Promise object that resolves with the Dataset response.
Use updateDataset
to allow users to change descriptions, labels, and more. This example adds an update button to a page with datasets. The page must contain form elements for the information required to update the dataset. Updating a dataset displays a toast message using the lightning/platformShowToastEvent
module.
This button calls the updateDataset()
method.