Hi, Jason

The URL depends on the way the subreport template is uploaded to the 
repository.
If you use repo:/subreport.jrxml, the subreport template should be an 
independent/reusable file resource which was uploaded in the root 
directory of the repository.
If however, the subreport template is part of the report unit's locally 
defined file resources, then you should reference it like this:
repo:subreport.jrxml. Note that the name property of the file resource 
that you create either locally or reusable has to be precisely 
"subreport.jrxml" or in any case has to be the same as in the URL.

We ship JasperServer with a report sample called "Sales By Month" that 
uses a subreport.
You could check that for more details.

I hope this helps.
Teodor


Jason Tesser wrote:
> I cannot get a report with a subreport to work in JasperServer.  It 
> doesn't find the subreport jrxml.  I have tried repo:/subreport.jrxml  
> /subreport.jrml Nothing works.  How do you reference the jrml using 
> the jasperserver? 
> ------------------------------------------------------------------------
>
> _______________________________________________
> jasperreports-questions mailing list
> jasperreports-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
>   



_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to