genesis_net Posted May 11, 2007 Share Posted May 11, 2007 Hi.. I need pass a parameter to invoke a report, store in jasperver machine, the code is like this: http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/VEHICLE_REPORT%20&output=pdf This work ok.. but the report has 1 parameters called (ID_VEHICLE) inside of sql query, I need pass one value to that parameter.. HOW do That?? I'm using jasperserver 1.2.1.. Thank's.. PD: I have to this link: http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/VEHICLE_REPORT%20&output=pdf&j_acegi_security_check?j_username=jasperadmin&password=password_here But send me the next error: org.acegisecurity.AccessDeniedException: Access is denied Thank's.. Link to comment Share on other sites More sharing options...
javydreamercsw Posted May 12, 2007 Share Posted May 12, 2007 Add the parameters at the end (after the login credentials) in the following format: <param_name>=<param_value>&<param_name2>=<param_value2>&... where <param_name> is the parameter name and <param_value> is the value to be asigned. At least that's the way it worked previously. I was going to make a post like yours since the same thing happens in a scheduled report execution. Something that didn't happen before. See thread:http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=25148&catid=10Post edited by: javydreamercsw, at: 2007/05/11 17:03 Link to comment Share on other sites More sharing options...
genesis_net Posted May 12, 2007 Author Share Posted May 12, 2007 Excelent thank's for your help.. I fixed the problem.. Now I need resolved the authentication problem.. Thank's so much..;)Post edited by: genesis_net, at: 2007/05/11 20:04 Link to comment Share on other sites More sharing options...
navvish Posted November 3, 2009 Share Posted November 3, 2009 Hi I am new to Jasper. I saw this post and have a similar req. I was to pass the param values in the URL. But How can I access them in the child report ? Thanks for your help. regardsNaveen V Link to comment Share on other sites More sharing options...
swood Posted November 23, 2009 Share Posted November 23, 2009 Do you mean pass the parameters to a sub report? You need to create input controls for the parameters for the top report unit, and pass those parameters to the sub report. Then you can pass the parameters as this thread shows. ShermanJaspersoft 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