mattbates Posted August 10, 2011 Share Posted August 10, 2011 I would quite like to expose one report definition on Jasper Server as two different logical reports.I assumed I would be able to create an Input Control that just passed a value without any user interaction but I can't work out how to do this?Any ideas? Link to comment Share on other sites More sharing options...
ramnik Posted August 10, 2011 Share Posted August 10, 2011 1. add parameter to the report2. provide default value to the parameter Ramnik KaurSenior QA Engineer Link to comment Share on other sites More sharing options...
mmulligan03 Posted August 10, 2011 Share Posted August 10, 2011 If you are doing it through web services in java it would be something like this:java.util.Map parameters = new java.util.HashMap();parameters.put("key", "value");then when you make your call you pass the parameters:client.runReport(currentUri, parameters); if you are running it through the web (ie URL) then just add the parameter in the url like so:http://server.company.com:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&standAlone=true&_flowId=viewReportFlow&ParentFolderUri=&reportUnit=&key=value Link to comment Share on other sites More sharing options...
mattbates Posted August 14, 2011 Author Share Posted August 14, 2011 ramnikWrote: 1. add parameter to the report 2. provide default value to the parameter Unfortunately the point is there are two different values, not one. Link to comment Share on other sites More sharing options...
mattbates Posted August 14, 2011 Author Share Posted August 14, 2011 mmulligan03 wrote: If you are doing it through web services... if you are running it through the web... Nope I'm not doing either, my users are going to use the JasperServer UI.But that URL looks very useful. 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