cyprian Posted October 7, 2014 Posted October 7, 2014 Hello,I'm using jasperserver community version 5.6. I'm using XML remote service as a data source. If the XML URL path has been configured in the jasper everything is working without problemUnfortunately I have to pass parameter to XML remote service so i decided to add this parameter to the report $P{reportID}hardcoded:XML_URL=http:/localhost:8080/restservice/xmlreport?id=100 and with parameter"XML_URL=http:/localhost:8080/restservice/xmlreport?id="+$P{reportID}now the question is how to pass this parameter to jasperserver. I tried to add this one to the report URL :http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&standAlone=true&_flowId=viewReportFlow&ParentFolderUri=%2Freports%2FFM&reportUnit=%2Freports%2FFM%2FCompaniesReport?reportID=100but it does not work.Do you have any other solution.all posible configuration for reportID param in the ireport did not help.Thank you for help.
cyprian Posted October 9, 2014 Author Posted October 9, 2014 Dear Community, First of all sorry for my previous post text formatting.I found solution -I had to add to report Input Controls (Edit report ->Controls & Resources) now the URL parameters are passed to the report. Best Regards
mihir_3 Posted September 4, 2015 Posted September 4, 2015 Could you please help me in achieving this? how to pass parameters to XML remote service?Using s/w version- jaspersoft studio 6.1.0, jasperreprt server 6.1.0 (community version)Thanks
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