majdoleen Posted July 12 Share Posted July 12 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/GetAllthe second json URL: http://localhost/api/services/app/ParcelOwners/GetAllSeparately both are working finesee the attached screen shoot Link to comment Share on other sites More sharing options...
Mehak Rajkumar Posted July 13 Share Posted July 13 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 More sharing options...
Thomas Tibcken Posted July 18 Share Posted July 18 Hi,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. THXRegards TT Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now