Aura Component for CRM Analytics Dashboards

The Aura component wave:waveDashboard displays a CRM Analytics dashboard in a Visualforce or Lightning page.

The component, CRM Analytics Dashboard is available in the Lightning App Builder as a drag-and-drop component. You can also create your own component to interact programmatically with the wave:waveDashboard component.

To display a CRM Analytics dashboard, pass in the required attribute, which is either the dashboardId or the developerName. All other attributes have a default value and are only specified if you want to override with your own custom value.

To change the dashboard state dynamically, use the filter attribute to add selections or filters to the embedded dashboard. You can filter dataset fields by variables or specified values. See Filter and Selection Syntax for Embedded Dashboards in Salesforce Help.

You can also update the dashboard state via the setState component method or by using the CRM Analytics Web SDK Events like wave:update. For details on using events to interact with this component, see CRM Analytics Aura Events in the Analytics SDK Developer Guide.

Here's an example of a simple Aura component for CRM Analytics dashboards.

See Also