Refresh all components of Pentaho CDE dashboard

2020-04-19 06:53发布

I want to be able to refresh entire Pentaho CDE dashboard including all components using a button.

Currently I use this code window.location.reload(), which refreshes whole HTML page. But it reloads all resources, which makes it slow.

Is there a way of how to refresh all components of Pentaho CDE dashboard?

1条回答
啃猪蹄的小仙女
2楼-- · 2020-04-19 07:30

Use and call this function:

function updateAllDashboardComponents() {
    Dashboards.updateAll(Dashboards.components);
} 
查看更多
登录 后发表回答