updateWaveFolder

Updates a specific CRM Analytics folder by ID.

updateWaveFolder uses this CRM Analytics API resource.

  • folderId— (Required) The ID of the folder.
  • folder— (Required) The folder to update. Use a Base Wave Folder Input resource.
  • A Promise object that resolves with the Wave Folder response.

Use updateWaveFolder to allow users to change folder name, label, status, sharing, and more. This example adds an update button to a page with folders. The page must contain form elements for the information required to update the folder. Updating a folder displays a toast message using the lightning/platformShowToastEvent module.

This button calls the updateWaveFolder() method.