The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

postWaveFolders

Creates a CRM Analytics folder.

postWaveFolders uses this CRM Analytics API resource.

A Promise object that resolves with the Wave Folder response.

Use postWaveFolders to create a CRM Analytics folder. For example, create a blank folder to contain analytics assets, like dashboards and components.

This example adds a create button to a page. The page must contain form elements for the information required to create the folder, like the name, label, and asset icon. Creating a folder displays a toast message using the lightning/platformShowToastEvent module.

This button calls the postWaveFolders() method.