Rest v2 detect no record

I 'm using jasper server v4.7.1 and ireport v4.7.0.

I use rest v2 to call report on jasper server as pdf file as below.

http://localhost:9090/jasperserver-pro/rest_v2/reports/criteria/tmp/test...

I found the problem that I connot detect when report has no record. It always return pdf file to me. In case of no record , I got pdf file as blank page.

Note : I set the property 'When No Date'  as 'No Pages' in report

 

 

dummycpe14_1's picture
Joined: Jun 12 2013 - 12:54am
Last seen: 7 years 6 months ago

0 Answers:

No answers yet
Feedback
randomness