AnsweredAssumed Answered

How to access Sub-report from main report in Jaspersoft server ?

Question asked by AngadAnand on Jan 22, 2016
Latest reply on Jan 27, 2016 by GeorgSchmid2014

Hello All,


We have created a Master and a Sub-report and uploaded in Jaspersoft server making the below changes into master report jrxml file.



<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">





<parameter name="SUBREPORT_EXT" class="java.lang.String" isForPrompting="false">





<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "Project_Charter_1" + $P{SUBREPORT_EXT}]]></subreportExpression>




We have uploaded the sub-report in above mentioned path (/organizations/<client_name>/ca_ppm/resources/other_files/) as jrxml file type and named as "Project_Charter_1". And attached the sub-report into 'Master report --> Control&Resource--> Add Resources' section in Jasper server. But still after running the master report , server is unable to load the sub-report.


We are getting below error:


"Error Details"


Repository file resource /organizations/<client_name>/ca_ppm/resources/other_files/Project_Charter_1.jrxml could not be loaded



Thanks in Advance.


Warm regards,

Angad Anand