Read Parameter value in custom implementation of JRdatasource

My objective is to pass value from visualize.js to custom datasource and build the report based on the parameter provided. I created a custom datasource class in my jasper studio  which

implements JRDataSource Interface and populated the results in jasper report. I have a parameter in my JRXML file and need to read parameter  value. I can read parameter name and other info. 

But coudn't able to read the parameter valiue. I hope custom query executer can be used, But i am not sure whether we can use this for read parameters without query level usage. Please help me in this regard


infostarguru's picture
Joined: Feb 6 2016 - 9:20am
Last seen: 6 years 8 months ago

1 Answer:

Follow this thread even though its a little late.

ramonc's picture
Joined: Jun 13 2017 - 8:33am
Last seen: 5 years 1 day ago