Refresh all components of Pentaho CDE dashboard - pentaho

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?

Use and call this function:
function updateAllDashboardComponents() {
Dashboards.updateAll(Dashboards.components);
}

Related

xwiki page loading after multiple refreshes

I am using Organizational Chart Macro extension in xwiki to display chart, but after using Simple Organization Chart using json, page does not show the content. So , need to refresh the page 3 to 5 times.
what could be the cause for that page content loading problem?

Is it possible to reload the deskStructure.js within Sanity CMS via code instead of refreshing the entire page?

Within the deskStructure.js of the Sanity CMS Studio I'd like to power some of the filtering using a variable that will be updated by a custom plugin. Is there a nice way of reloading the deskStructure without having to do a window.location.reload()? As that isn't particularly nice approach as it takes a while to reload the page.

Dashboard.fireChange javaScript error in pentaho Dashboard

Without disable the RequireJs, how can I use the Click Action for popup component using Dashboard.fireChange() method?
With require support it’s dashboard (lowercase, singular).
Without require it’s Dashboards (uppercase first letter, plural).

Reusable Pentaho dashboard side-bar

I have added a side bar like this one onto a CDE dashboard.
https://bootsnipp.com/snippets/featured/responsive-navigation-menu
Now the sidebar needs to be on every page listed on the menu.
What is the best way to go about this?
I could copy it on every single dash board - it works but it's not great especially if I need to change stg ex-post.
Create an "index" page with the side bar and an iframe to display the "sub" dashboards?
Create a widget (I tried but no success so far)
Custom component?
I think I solved the problem by using jquery load like these guys did.
Include another HTML file in a HTML file

Pentaho Dashboard Render Too Slow

Currently I'm working with Pentaho CDE, I have more then 100 components in my dashboard.
My problem is, when i change something and save the dashboard, Save process take 1 to 2 mins .
From googling, I heard that by click on save button re-write all content. Is there any way to speed up the save process ?
And also, preview the saved dashboard takes 3 minutes to render in web browser. How can i speed up the render performance?
Dashboard likes below
By clicking Select Dashboard button will change the Component. Dashboard will be Sales,purchase, Invoice and etc.
Thanks in advance,
Dhina
This dashboard does not look like it has 100+ components.
However, I'm curious about the first drop down (top left): Select Dashboard. Does this redirect to a new dashboard or are you hiding/showing components in the same dashboard ?