pentaloc Posted August 14, 2012 Share Posted August 14, 2012 Hi all, can i use parameter of the report or input control for the file name in the JasperServer Scheduling?The Report is created every day in the morning, but the data in the report depends on a different date (about one week before creation) as creation. Thanks in advance, pentaloc Link to comment Share on other sites More sharing options...
ansulgupta Posted August 23, 2012 Share Posted August 23, 2012 Yes, you can name a report based on field name,parameter etc..Example: for Excel 2003 You can set the property net.sf.jasperreports.export.xls.sheet.name in Property Expression on Elements like (Line,Satic Label). In Property Expression:Name: net.sf.jasperreports.export.xls.sheet.nameValue: $P{Paramater_name} Regards,Ansul Gupta Link to comment Share on other sites More sharing options...
kcd83 Posted April 10, 2013 Share Posted April 10, 2013 That is a good suggestion however it only changes the sheet name not the file name Link to comment Share on other sites More sharing options...
gauravkumar Posted May 10, 2017 Share Posted May 10, 2017 Hi Ansul, You have said that to set property net.sf.jasperreports.export.xls.sheet.name in Property Expression on Elements like (Line,Satic Label). does that mean i can select any element from the report. 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