How to Pass Parameters to a custom ReportDataSourceService

0

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

 

bolsover's picture
Joined: Aug 19 2009 - 1:35am
Last seen: 6 months 1 week ago

3 Answers:

0
Problem solved I got the solution.
bolsover's picture
Joined: Aug 19 2009 - 1:35am
Last seen: 6 months 1 week ago
0
Can you please share your solution. I am trying to achieve the same.
abidi's picture
35
Joined: Oct 21 2014 - 10:10am
Last seen: 4 years 3 weeks ago
0
I think I am good :) Making it a parameter on the jasper server fixed my issue
abidi's picture
35
Joined: Oct 21 2014 - 10:10am
Last seen: 4 years 3 weeks ago
Feedback
randomness