postWaveFolders
Creates a CRM Analytics folder.
postWaveFolders
uses this CRM Analytics API resource.
waveFolder
— (Required) The folder to create. Use a Base Wave Folder Input 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.