Embed compiled subreport into compiled master report

Hi,

I would like to know if there is a way to include (not to reference) a subreport .jasper file into a master .jasper file?
I thought Jasper Studio would do this automatically during compilation, but I was proven wrong the hard way now :-(

As a last resort, does someone know if I could at least embed it by base64-encoding the binaries as mentioned here:
http://community.jaspersoft.com/questions/523992/tip-embedding-images-re...

Referencing is not an option as I want to store a single .jasper file in our database.

Thanks in advance!

toffer's picture
342
Joined: Oct 21 2013 - 2:43am
Last seen: 6 years 2 weeks ago

I am thinking of packaging my template and its sub-templates into a jar and then load these into the classpath (or JVM?) before rendering.
Has anyone experience with that and/or does that approach make any sense?

toffer - 9 years 3 months ago

Have anyone found a solution for this?

I have a very similar situation. I need to ship a single .jasper file to a customer and have not found a way how to do that with subreports.

christian.meier - 2 years 4 months ago

0 Answers:

No answers yet
Feedback