Blank pdf when no data
Posted on December 17, 2014 at 8:06am
Hello,
I have created a report with iReport 4.1.1.
This report contain a subreport.
In main and subreport I have set the propertie "When no data" to "no page"
The report is scheduled in JasperReport 5.6.0. The output is a file sent by FTP.
My problem is that when there is no data a blank pdf is created (empty pdf).
Is there a solution to get no report when there is no data ?
Thanks in advance for your help.
Cyrille
Joined: Mar 3 2014 - 2:41am
Last seen: 8 years 3 months ago
Posted on December 18, 2014 at 1:30am
I've filed a bug report through Tibco Jaspersoft Support on this and it's been added as defeats/enhancement request. Before it's fixed, I think the way is to use REST v2 report generation API and do the data checking yourself.
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago