ssunilkumar Posted June 21, 2017 Share Posted June 21, 2017 Hi,I have a report when exported to excel should supress the page header and footer. I have searched a lot and found that there are some properties which needs to be changed at server level. But it the changes are done on server level it apllies to all the reports but in my case I do not want to do it at server level as I need the the headers to export for some reports and do not need to export for some reports. Please can you suggest as early as possible.Thank YouSunil Kumar Sappasuniltvg@gmail.com Link to comment Share on other sites More sharing options...
elizam Posted June 21, 2017 Share Posted June 21, 2017 You don't name the specific properties, so I'm not sure, but most properties that can be set at the server level can also be set as advanced properties in the report. Link to comment Share on other sites More sharing options...
ssunilkumar Posted June 21, 2017 Author Share Posted June 21, 2017 The properties I was talking about are:<property name="net.sf.jasperreports.export.xls.exclude.origin.band.1" value="pageHeader"/><property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageFooter"/> These changes had to be done in Web-INF/ Folder. So just wondering without doing it in such level if can be done in report level.I tried applying those properties to my report but it did not work as expected. 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