How to enable text output on JasperReports Server

If you want to add the text-only (.txt) report format option to your Export menus in JasperReports Server, you can do so by editing the following file:

{your jasperreports server install directory}\jasperserver-pro\WEB-INF\flows\viewReportBeans.xml

Simply un-comment the following line:

<!-- entry key="txt" value-ref="txtExporterConfiguration"/-->

To be:

<entry key="txt" value-ref="txtExporterConfiguration" />

Once you restart JasperReports Server, you will see "Text Only" listed as an option in your Export menus along with HTML, PDF, Excel, etc.
 

Feedback
randomness