Business Rule to create a prompt for unsaved data when switching between tabs of a dashboard

GregHertling
New Contributor III

Hi, we have dashboard with multiple driver tabs.  if data is entered in one tab but not saved prior to switching to another tab that data is lost.  Is there a BR to check for unsaved data and prompt the user to save?

thanks,

Greg

4 REPLIES 4

ChrisLoran
Valued Contributor

This has been raised before by some customers and logged as an enhancement, with reference PF-4546
You may like to log a ticket with support to ensure your customer name is added to this request.
Also this is mentioned in the IdeaStream section of these forums, here https://community.onestreamsoftware.com/t5/Platform/Warning-that-user-has-unsaved-data-in-the-Workfl... 
You may want to up-vote it if you believe this is important for your customer (by 'Liking' the opening post).

Hi, is there no work around until a permanent solution is put in place?

ChrisLoran
Valued Contributor

In terms of workarounds, I'm not aware of any events that fire when you press on another tab, which would execute in-time to block the changing of tabs. (Anyone else on here? -  I would be delighted to be proven wrong on this one)

However, what you could try is to do away with tabbed dashboard layout, and instead have a radio-button group, or several push buttons, to imitate the selection of different tabs, and these would drive a dashboard parameter which determines which cube view or dashboard component to display.

In fact one of my colleagues arranged pushbuttons horizontally in a way that looks like tabs, to get around some performance limitations with tabbed dashboards.  With tabbed dashboards , when you open it it actually renders a lot of components that are in all the tabs, in one go, not just the tab that you want to display. So there is actually an upside to doing a workaround like this.

Once you have push button controls, or a Radio Button Group control , as the mechanism for switching between views, then you can put on the Save Action property = [Prompt to Save Data for All Components]

ChrisLoran_0-1672925491109.png

This should prompt for any unsaved changes before proceeding to perform the selection changed action.
It would be interesting to see if you notice any performance improvements this way, since by using this alternative approach only one view is being rendered at a time (unlike a tabbed dashboard that seems to process all components in all tabs even though it only displays one tab first).

thanks Chris, appreciate the response, will give this a try.