Jump to content

Recommended Posts

Posted

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 problem
Unfortunately 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=100

but 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.

 

 

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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

  • 10 months later...
Posted

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

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...