How do I provide a parameter in the runReport call?

I'm trying to figure out how to send report parameters to JasperServer. I have no trouble runing reports that don't require parameters. But the report I'm working on has a mandatory parameter. If I run it directly on the server I am prompted to enter the string and it runs fine. How do I provide the parameter in the Report Service (runReport) call?

robb.cundick's picture
Joined: Nov 18 2013 - 12:50pm
Last seen: 4 years 10 months ago

1 Answer:

Never mind on this. I had been using the inputControls parameter to send the report parameter but I kept getting the following error:

com.jaspersoft.jasperserver.api.metadata.common.domain.InputControlsContainer not found

In the end, that part of it was right. The error had to do with the uri path to my report. Since uploading the report I had changed a folder name in the path. Apparently the report still needed the original path. I switched to using the original folder name in the path and that fixed it.

robb.cundick's picture
Joined: Nov 18 2013 - 12:50pm
Last seen: 4 years 10 months ago
Feedback
randomness