sugita Posted April 30, 2010 Share Posted April 30, 2010 Hi,I have a report (Name - Activity Report) with report type as Parameter with Value "Detailed"/"Summary". While Report is executed and exported to PDF from JasperServer, I want the name to be Dynamically Created. i.e; If the Value of Report Type is Detailed, it should be "Activity Detailed Report" and if the Report Type is Summary, it should be "Activity Summary Report".Please let me know how can this be done.Regards,Sugita Link to comment Share on other sites More sharing options...
dnvsrikanth Posted May 1, 2010 Share Posted May 1, 2010 Hi sugita, Have both the headers displayed on the page header section(Overlapped on each other). Pass an appropriate parameter to the report and toggle the header according to the parameter. DNV Srikanth. Link to comment Share on other sites More sharing options...
sugita Posted May 3, 2010 Author Share Posted May 3, 2010 Hi,On JasperServer, based on parameter when the report is generated, using the icon on the top, we export it to desired format(PDF, Excel, Flast...etc). When we click on certain icon, it gets exported to that format and on clicking "Save As" gives a default file name. I want to get this FILE NAME changed based on the Parameter Value. As far as I understand now, it cannot be changed as it is static. Please let me know if we can.Sorry, I was not able to explain it properly.I don't want the Report Title or Header in the contents to change.Regards,Sugita Link to comment Share on other sites More sharing options...
lucianc Posted May 4, 2010 Share Posted May 4, 2010 sugitaWrote: As far as I understand now, it cannot be changed as it is static. Please let me know if we can. You can't. The exported file name is always based on the name of the report unit.Regards,Lucian Link to comment Share on other sites More sharing options...
sambitgudu Posted April 17, 2013 Share Posted April 17, 2013 After long time I am facing the same issue. How to change generated report pdf name dynamically in jasper server.ex:Suppose my report name is "monthly_sale.jrxml" and i have a parameter named "InputDate". When generating report in jasper server if InputDate='2012-10-12' then i want my pdf report name should be like "monthly_sale_2012-10-12" .Please let me know if it is possible or not??ThanksSambit 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