How to create Ad Hoc Report using Domain in JasperServer

Hi everyone,
I have an enhancement to create an ad hoc report using Domain. I could able to create the Domain without paramters like 'SELECT * FROM EMP'. But i want to create the filters and pass the parameter values at runtime like 'SELECT * FROM EMP WHERE EMPNO = $P{EMPNO}'(which we create the paramters in the ireport designer)
Any one have an idea to create the parameters in ad hoc report using Domain.
Can anyone please provide me the steps to create the Ad Hoc Report.
sant25's picture
Joined: Jun 13 2016 - 3:57am
Last seen: 2 years 11 months ago

1 Answer:

You can create filters in a domain or parameters in an Ad Hoc view.  Please see the JasperReports Server User Guide for more information.


elizam's picture
Joined: Mar 5 2012 - 9:19am
Last seen: 2 years 6 days ago