Browser tab name for dashboard in 7.2

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

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
<head>
<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:\Jaspersoft\jasperreports-server-6.2.1\apache-tomcat\webapps\jasperserver-pro\WEB-INF\jsp\modules\dashboard
- Edit  dashboardDesignerviewFrame.jsp
<head>
<title>${reportUnitObject.label}</title>
<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.

 

image.png

 

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.

 

aditya.vairagkar's picture
Joined: Apr 6 2016 - 12:45pm
Last seen: 1 year 10 months ago

You're image was deleted from your gmail.

djohnson53 - 2 years 11 months ago

0 Answers:

No answers yet
Feedback
randomness