jhickling Posted February 25, 2016 Share Posted February 25, 2016 Can anyone point me in the right direction to set Jasper Report Properties with an expression?I would like to set PDF metadata (Author, Title) with an expression.Thanks,Justin Link to comment Share on other sites More sharing options...
hozawa Posted February 26, 2016 Share Posted February 26, 2016 I don't think it's possible to set properties value from an expression because properties are read and set when the jrxml file is read and expression is evaluated when a report is generated. The only way I can think of to set author and title dynamically is to write your own program using JasperReports library to generate pdf report. Fortunately, this is very easy to do. 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