How to enable export to HTML format at JasperReports Server

Iris Figini

I need to export a report in HTML format with JasperReports Server. JasperReport Server provides options to export to several formats (pdf, xls, csv, docx, rtf, odt, ...) but HTML is not included.

Exporter oprtions

Export to HTML format is available in iReport preview, but not in the JR Server when I load a jrxml file.

What do I need to do or change to make the HTML export option available?

Alex K

There is no such option in JasperReports Server (I've checked the 6.2.0 and 5.5 versions).

You can check the viewReportBeans.xml configuration file placed in WEB-INF\flows folder.

It contains this block:

<util:map id="exporterConfigMap">
    <!-- comment/uncomment any of the lines below if you want related exporters 
         to be excluded/included in the viewer's exporters list
         Note: separate configuration for iPad 'exportersSupportedByiPad'
         -->

    <entry key="pdf" value-ref="pdfExporterConfiguration"/>
    <entry key="xls" value-ref="xlsExporterConfiguration"/>
    <entry key="xlsNoPag" value-ref="xlsNoPaginationExporterConfiguration"/>
    <entry key="csv" value-ref="csvExporterConfiguration"/>
    <entry key="docx" value-ref="docxExporterConfiguration"/>
    <entry key="rtf" value-ref="rtfExporterConfiguration"/>
    <entry key="odt" value-ref="odtExporterConfiguration"/>
    <entry key="ods" value-ref="odsExporterConfiguration"/>
    <entry key="xlsx" value-ref="xlsxExporterConfiguration"/>
    <entry key="xlsxNoPag" value-ref="xlsxNoPaginationExporterConfiguration"/>
    <entry key="pptx" value-ref="pptxExporterConfiguration"/>
    <!-- 
    <entry key="txt" value-ref="txtExporterConfiguration"/>
    -->
</util:map>

You can disable some exporters here. But if you want to add the new one (html in your case) - you should change the source code of JR Server to add support of this format.

You can face some difficulties during implementation of html exporter for JRS. For example, how to handle images (external resource) in report.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Export JasperReports in HTML format

From Dev

How to get the JasperReports into Excel format with proper alignment

From Dev

How to get the JasperReports into Excel format with proper alignment

From Dev

How to log MySql queries fired in JasperReports Server?

From Dev

How Jasperreports Server stores report output internally?

From Dev

jasperreports - excel export

From Dev

How to generate HTML report streams with JasperReports?

From Dev

Export Jasperreports to pptx from servlet

From Dev

How to enable jQgrid to Export data into PDF/Excel

From Dev

How to enable jQgrid to Export data into PDF/Excel

From Dev

How to Export -- not Save As -- to another format?

From Dev

How to export certificate in pfx format?

From Dev

SQL Server Bcp Export XML Format

From Dev

How to Automatic Start JasperReports Server On Ubuntu After Restart or Start Ubuntu

From Dev

How use export in an HTML

From Dev

Interactive features of JasperReports without involving JasperReports Server

From Dev

alasql export to excel saving in html format

From Dev

Export json data into html table following format

From Dev

Export json data into html table following format

From Dev

How enable gzip in puma server

From Dev

How to enable HTML in Email Send

From Dev

How to enable auto format code in eclipse?

From Dev

JasperReports export to excel auto size columns

From Dev

JasperReports: Export a xls/ods file with formulas

From Dev

Create server report to html format

From Dev

How to export mongoDB data into a CSV format?

From Dev

How to export data in python with excel format?

From Dev

How to export view to a vector image format in Netlogo

From Dev

How to export mongoDB data into a CSV format?

Related Related

HotTag

Archive