Jump to content
JasperReports Library 7.0 is now available ×

Rest v2 detect no record


dummycpe14_1

Recommended Posts

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.pdf?bcCreateDate=2013-06-06&printByUserId=457

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

 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...