Hello,
When you export a report from a Visualize rendered div, the proposed fileName is the technical name of that report.
Our Customer has 75 reports to be rendered each week with specific criteria for each report (book with subReports in fact). The first criterion is the target company name
Once this export done, the generated file names should have semantic names, and not
report.pdf
report(1).pdf
report(2).pdf
Our Customer would like to have a proposed export fileName automatically built on that criterion and the date as YYYYMMdd format.
For example
JONES_20230127.pdf
ALLAN_20230127.pdf
SIMTH_20230127.pdf
For the moment, our Customer has to edit the fileName for each export. This is very time consuming, annoying and a potential source of incoherences.
Would it be possible to have a report variable, for example $V{DEFAULT_EXPORT_NAME} with the report name by default, but a customizable value based on parameters and/or datasource fields ?
Regards
Components | JasperSoft Studio, JasperReports Server |