refresh Method

Use the refresh method to rerun all of the queries for a CRM Analytics dashboard or for a specific query.

Argument NameDescription
configThe optional configuration for the refresh call. This value is a JSON object that sets parameters for the call. For refresh, the config is used when refresh is called for a single query on the dashboard. To specify which query to rerun, use the step parameter.

Add your implementation of the refresh call into the controller.js for your Aura component. In this example, the refresh method is called for the CRM Analytics dashboard in the component’s reference. The optional config JSON is created with the step attribute to rerun the query for a specific step. To rerun all the queries for a dashboard, call refresh without the config attribute.

See Also