Focal Point
[CLOSED] Dashboard refresh by clicking on the tab

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3121023552

November 02, 2007, 11:14 AM
Sayed
[CLOSED] Dashboard refresh by clicking on the tab
Hello,

How can I refresh the current page by clicking on the dashboard tab? I know there is a refresh icon on the top right for the page but that is not suitable. I need to be able to click on the current tab and the page be refreshed.

Thanks,
Sayed

This message has been edited. Last edited by: Kerry,


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
November 06, 2007, 02:59 PM
Trav
Sayed, I think you're going to want to look at the worp_page.js file on your server.

c:\ibi\WebFOCUS71\ibi_html\javaassist\worp\js

The select(tab) function is what is being called when you click on the tab. If you read through that javascript, you'll see the first thing it does is check to see if the tab passed is the currentPage. If so, it just skips the whole thing. I don't want to play with my version, but basically you'd have to modify that file so that it goes through the refresh process even if the tab is the current page. Also, it may need to do a further check to see if it's already been loaded -- by looking at the comments, it appears that they're avoiding some bit of work if it's already been loaded once.

Just guessing, but it looks like there is a "reloadPage" variable being set somewhere that you may be able to take advantage of also.

Sorry I can't give you more specifics, but I'm not willing to play with my version at the moment. Smiler

Of course at this point you're modifying a file that probably gets overwritten during patches/upgrades -- so keep that in mind. Good luck though and keep us posted.



Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio
Testing: <none>
Using MRE & BID.  Connected to MS SQL Server 2005
Output Types: HTML, Excel, PDF
November 08, 2007, 12:53 PM
Sayed
Thanks, Let me play around with that file.


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
December 02, 2008, 02:44 AM
Beena
I am facing the same issue as Sayed. Can anybody tell me how to proceed with this issue?
Thank you and appreciate your assistance


Ver 7.1.4
August 28, 2009, 01:57 PM
Kowens
how was the reload page set?


Version: 8.0.0.6
Windows platform
All output formats will probably be used.
September 23, 2009, 10:49 AM
Dan Pinault
Can't you just go to the Dashboard View Builder - View Settings and set the value of 'Reload Pages on Tab Navigation' to TRUE?


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.