Michael.Boehm Posted April 14, 2023 Posted April 14, 2023 Hi,I defined a Report with a Subreport via Hyperlink and deployed both to the JasperServer.Everything is working fine when I run the Report and start the Subreport from the Report.I also defined a Dashboard including the above Report. When I try to call the Subreport from the Dashboard, I get an error that the resource cannot be found.I figured out that when using the Subreport from the Dashboard, the full path to the Subreport must be specified, whilst when calling the Subreport from the Report the top part of the path is automatically added.How can I get this to work from the Dashboard AND the Report? I can only add one path in the Hyperlink, thus either it works from the Dashboard or from the Report.Example:from Report I need path: "/reports/Subreport_Details"from Dashboard I need path: "/organizations/Test/reports/Subreport_Details"Thanks
anish.rai Posted April 24, 2023 Posted April 24, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.
Akshay Khedkar Posted April 24, 2023 Posted April 24, 2023 Hello Michael,It appears that your subreport and report are placed in same organization and dashboard is placed in different organization. Please give a try by adding dashboard, report and sub report in same organization. I hope this will help you. Thanks
Michael.Boehm Posted April 24, 2023 Author Posted April 24, 2023 Thanks for your answer, but all three parts are in the same Organization:Subreport: /organizations/Level1/SDM/reports/SubreportReport: /organizations/Level1/SDM/reports/ReportDashboard: /organizations/Level1/SDM/dashboards/DashboardHyperlink from Report: /SDM/reports/SubreportHyperlink from Dashboard: /organizations/Level1/SDM/reports/Subreport The issue seems to be related to using a different way of constructing the hyperlink from Reports and Dahsboards:For Reports the top level (/organizations/Level1) is added automatically, whilst for Dashboards the full path is required.
Akshay Khedkar Posted April 24, 2023 Posted April 24, 2023 Hello Michael, Please provide me the jasperserver.log(jasperserver-pro/WEB-INF/logs) file and the export of the report with legacy key option.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now