| 1. | Open the file <js-webapp>WEB-INFjasperserver-servlet-pro.xml (commercial editions) or jasperserver-servlet.xml (community edition) for editing. |
| 2. | Locate the home page bean: |
proHomePageByRole (commercial editions)
homePageByRole (community edition)
| 3. | Locate the line under this bean for ROLE_USER and modify it to direct to the library page: |
| For a user with multiple roles, the proHomePageByRole bean redirects the user to the page specified by the first matching role on the list. For example, for an administrator with ROLE_ADMINISTRATOR and ROLE_USER roles, the ROLE_ADMINSTRATOR redirect is applied because it appears first in the bean. When adding your own roles to this bean, make sure to insert them in the order which has the effect you desire. |
| 5. | When the web app has reloaded, log into JasperReports Server as joeuser. The library page is displayed. |
| You can use this method for dashboards in JasperReports Server6.0 and higher, for example: <value>ROLE_ADMINISTRATOR|redirect:/dashboard/viewer.html#/public/Samples/Dashboards/1._Supermart_Dashboard</value>[/code] This method does not work with viewReportFlow. |
Recommended Comments
There are no comments to display.