akumaramericanepay.com Posted June 17, 2008 Share Posted June 17, 2008 Hi, I want to create a parameterized report using Ireport and the pass the parameters from Jasper server. I want to how could i pass the parameter to the report from my application (which is in .net). Link to comment Share on other sites More sharing options...
lshannon Posted June 17, 2008 Share Posted June 17, 2008 I am a little confused about "pass the parameters from Jasper server". Do you mean you would like to use Jasperserver to collect parameter values that will be passed into the report? When it comes to params you need to define them in the report template using iReport. Once this is done, it is up to the parent application that is actually filling and exporting the report to collect the parameters values. When you fill you report you need to pass in the compiled template, a Map of parameters and their values, and a data source to the Fill Manager. Jasperserver gives you a mechanism called input controls that allows for easy creations of UI elements that users can interact with to populate values for parameters. Check out the Jasperserver user guide for examples on how to set up input controls. For working within your own application download the JasperReports source and take of look at the folder demo/samples/webapp for an example of working with a report with parameters in a Java application. I am not sure about using .NET. Perhaps someone else can comment on this. I hope this helps. Link to comment Share on other sites More sharing options...
adhikari Posted August 12, 2008 Share Posted August 12, 2008 Hi I have a similar issue. I created parameter report using ireport and loaded in jasperserver.. the report runs and ask the parmeters in ireport .... but when i try it from jaspersever it dosn't run at all. Is there some setups that i need to do.. thanks 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