How to exclude Jaspersoft report headers in CSV export (Clarity PPM)
searchcancel
How to exclude Jaspersoft report headers in CSV export (Clarity PPM)
book
Article ID: 259590
calendar_today
Updated On: 02-09-2023
Products
Clarity PPM SaaSClarity PPM On Premise
Issue/Introduction
We are using a Jaspersoft report with pageHeader which uses a Table Component. We would like to exclude the Page Headers from being exported to CSV. We have tried all the csv <property name="net.sf.jasperreports.export.csv.exclude properties in the report and it does not work.
Environment
Release : Any
Resolution
The reason the typical <property name="net.sf.jasperreports.export.csv.exclude headers do not work is that the report is that the report is using Table component.
Add a key property to each pageHeader field and then exclude it as follows:
Then add this to the top of the report in properties: <property name="net.sf.jasperreports.export.csv.exclude.key.reportName"/>
Repeat for all the Page Headers - and recreate the report