Lightning Web Components for Analytics Dashboards
There are two Lightning web components for displaying dashboards in Salesforce. The wave-wave-dashboard-lwc
component displays a CRM Analytics dashboard in a Lightning page. The wave-community-dashboard
component displays a CRM Analytics dashboard in Experience Cloud.
The component, LWC CRM Analytics Dashboard, is available in both the Lightning App Builder and the Experience Cloud Builder as a drag-and-drop component. You can also create your own component to interact programmatically with the wave-wave-dashboard-lwc
or wave-community-dashboard
components.
To display a CRM Analytics dashboard, pass in the required attribute, which is either the asset-id
or the developer-name
. All other attributes have a default value and are only specified if you want to override with your own custom value.
See Also