Jump to content
Changes to the Jaspersoft community edition download ×

Subreport using diffrent JSON Data Source from URL does not return any value


Recommended Posts

I am trying to add a sub report to the main report( each report is using different JSON Data Source from different URL) but they are using the same paramter:

the master report is working fine but when it comes to to the sub report it doesnot work and returns no data! I am not sure if I am doing the correct connection,

The Parameter for both report is called Customer_Id,

the first json url is: http://localhost/api/services/app/Customers/GetAll

the second json URL: http://localhost/api/services/app/ParcelOwners/GetAll

Separately both are working fine

see the attached screen shoot



Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

Link to comment
Share on other sites


your sub-report will automatically use the default data connection of the main report.

To fix that you can export the data connection for the sub report into a file:


In you sub-report you can select that file to set the connection to your 2. data source:

In the outline select the highest element and in the properties you can than select the "Default Data Adapter" 


Please let me know it that was the solution.  THX

Regards TT


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...