How to Pass Parameters to a custom ReportDataSourceService
Posted on December 11, 2014 at 12:29pm
I have defined a custom ReportDataSourceService that will be used to generate a specialised JRBeanCollectionDataSource from data retrieved from the database. The data needs to be extensively manipulated before it is presented to the user.
The problem I now face is that of applying some parameters to the data.
How do I pass parameters from Jasperserver to the ReportDataSourceService? For example, I need to pass two dates to the service so that I can use these BEFORE the JRBeanCollectionDataSource is passed to the report.
Regards, David
Joined: Aug 19 2009 - 1:35am
Last seen: 4 years 7 months ago
Posted on December 14, 2014 at 6:52am
Problem solved
I got the solution.
Joined: Aug 19 2009 - 1:35am
Last seen: 4 years 7 months ago
Posted on May 5, 2015 at 6:38am
Can you please share your solution. I am trying to achieve the same.
Joined: Oct 21 2014 - 10:10am
Last seen: 8 years 1 month ago
Posted on May 5, 2015 at 10:03am
I think I am good :) Making it a parameter on the jasper server fixed my issue
Joined: Oct 21 2014 - 10:10am
Last seen: 8 years 1 month ago