sure919 Posted February 20, 2007 Share Posted February 20, 2007 Hi, I have a very basic Question,I have created parameterised reports in iReport Designer (based on the parameter, report will be displayed) it works in IR. I tried deploying the same in JI, but it dosent accept the parameter from the user to display the filtered data. Any help or information on this would be greatful. Cheers!!!Sure Link to comment Share on other sites More sharing options...
scottward Posted February 20, 2007 Share Posted February 20, 2007 Please, supply more information. Are you getting an error? If so, what is it?Is the report displaying but not respecting the parameter you enter?Does the Input Control name in JI match exactly with the parameter in the report? Scott Link to comment Share on other sites More sharing options...
sure919 Posted February 21, 2007 Author Share Posted February 21, 2007 Hi Scott, I created a parameterized report in iReport designer, it works fine (it fetches values based on the input passed). But when i deploy this jrxml into JI (report unit), it doesnt ask for parameters, but runs fine showing the report with value supplied with the default parameter. I am not sure whether the method i followed for parameterized reports is correct. Any help on this could be of great value! Thanks!!Sure Link to comment Share on other sites More sharing options...
lucianc Posted February 21, 2007 Share Posted February 21, 2007 You need to define in the report unit one input control for each "interactive" parameter you have in the report. HTH,Lucian Link to comment Share on other sites More sharing options...
sure919 Posted February 22, 2007 Author Share Posted February 22, 2007 It works!!!Thanks a lot!!!:) Link to comment Share on other sites More sharing options...
sks_shri Posted March 15, 2007 Share Posted March 15, 2007 Hi, I tried using the input control for a parameterized report (using iReport and jasperserver inside the iReport as plugin)The parameterized report is working fine in iReport and generates report using the input value. But in jasperserver reports, after creating & running the report unit, it seems that even after providing a different input in input control the jasperreport shows only the default value. Can you please help me in this regard. ThanksSks Link to comment Share on other sites More sharing options...
rsilverns.sympatico.ca Posted March 16, 2007 Share Posted March 16, 2007 Can you confirm that you have named the parameter in JasperServer the same as the parameter is defined as in your jrxml file? i.e. in JasperServer you may have a text box named "ProductDescription", this parameter in the jrxml file must then be $P{ProductDescription}. 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