Configure dashboard data broker
Activate the Dashboard data broker preset and configure the data broker to potentially speed the loading of dashboards by prefetching some data.
Before you begin
Role required: ui_builder_admin, admin
About this task
The dashboard includes a Dashboard data broker preset. This data broker prefetches all the static JavaScript assets that are required by the visualizations that are rendered in the dashboard. This prefetch could speed the loading of visualizations that include many such assets.
This data broker prefetches data only on direct page loads. It does not apply on click-through page loads, such as when the dashboard is opened by selecting a URL link from another page. It also does not function when the dashboard is used as an embedded component.
Procedure
Open your workspace and either create a page from the Dashboards template or navigate to an existing page from that template.
Open the Config tab in the configuration panel of the Dashboard component.
Check whether the Dashboard data broker preset is activated.
The preset is activated by default.
Activating the Dashboard data binding preset
In the Data and scripts section of the page, open Data resources > Data controller 1.
You can rename the data resource if desired.
Check whether the properties are correct:
Property Value experienceId app > appId dashboardSysId props > sysId filterId props > filter Add default values for the optional page parameters.
Parameter Value sysId null filter 1
Adding optional parameter values in the editor.
In the configuration panel, check whether the following properties are correctly set:
Property Value Use data broker to fetch data true Data broker response dashboard > data: ({"success":false}) You can customize these values, but you probably do not have to.
Save the page and open it in runtime.
Parent Topic:Creating Platform Analytics pages in your own workspace
Related topics
Create a Platform Analytics workspace from App Engine Studio
Add Platform Analytics pages to a configurable workspace
Add a dashboard to a Dashboards page
Configure custom redirection from a dashboard component