Defining Different Data Source to Subreport

Hi everyone


I am trying to create a report from a JSON file with multiple subreports included (subreports are using different connections than the masterreport and also each other).  I can create the subreports properly individually but I can't create the master report (it is rendering the subreport but not getting the data, showing me nulls instead of the data). I guess I couldn't configure the dataSources' of the subreports, my question is how can I add the dataSource that points to a json file? (subreports' dataSource is different than the masterReport's dataSource)

anil.yurtsever's picture
Joined: Sep 21 2019 - 7:47am
Last seen: 3 years 4 days ago

1 Answer:

You can specify a data adapter for an individual data set by setting the property on each data set.

For JasperReports Server, you would deploy each data adapter as a file, and set up the Report Unit as per  which still works in JasperReports Server 6.X and 7.X.

swood_1's picture
Joined: Nov 15 2012 - 10:47am
Last seen: 3 years 3 weeks ago