updateWaveFolder

Updates a specific CRM Analytics folder by ID.

updateWaveFolder uses this CRM Analytics API resource.

Parameter NameTypeDescriptionRequired?
folderIdStringThe ID of the folder.Yes
folderObjectThe folder to update. Use a Base Wave Folder Input resource.Yes
  • 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.