Jump to content
Changes to the Jaspersoft community edition download ×

Browser tab name for dashboard in 7.2


Recommended Posts

We recently moved from Jasperserver 6.3 to 7.2 version (Professional edition). The upgrade was not a direct upgrade as it was on two different systems. We had made a few changes, in version 6.3, to get a different browser tab name for our reports and dashboards. While trying to reproduce the same in version 7.2 however we are unable to get the desired result for dashboards. It works for the reports but not for dashboards as it did earlier. Please find below changes made to version 6.3:


Version 6.3 changes

- Edit page.jsp file
<title>Result Page</title>
<link rel="shortcut icon" href="/jasperserver-pro/themes/default/images/favicon1.ico">
Add above two lines in head body.  

- Go to C:Jaspersoftjasperreports-server-6.2.1apache-tomcatwebappsjasperserver-proWEB-INFjspmodulesdashboard
- Edit  dashboardDesignerviewFrame.jsp
<link rel="shortcut icon" href="/jasperserver-pro/themes/default/images/favicon1.ico">


After making changes to page.jsp in version 7.2, as mentioned above we were only able to get tab names changed for reports and not dashboards. Instead of the ID which gets picked we get the url as the tab name by using ${reportUnitObject.label}. Please find below a snapshot of the tab names. The left one is a dashboard and the one on the right is a report.




The ideal result we would like is report name and dashboard names in repository to appear as tab names. If we replace ${reportUnitObject.label} by a text it appears in both the report and dashboard. However, we would like a dynamic one as mentioned. Yes, there are ways to do it through css changes but wanted to know if we could achieve through file changes like it was possible in previous versions.

Thanks in advance.


Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...