Jump to content
We've recently updated our Privacy Statement, available here ×

Hiding some of the options in Export menu in Jasperserver reports


swalvekar

Recommended Posts

 Hi all,

In Jasperserver 4.0, under Export menu option, we find that the report can be exported into PDF, Excel,CSV,DOCX,RTF,Flash,ODT,ODS,XLSX formats.

I need to hide all the options except PDF, Excel and XLSX for all the users. I find there is no setting available in the admin screens. Can any one please help in resolving this issue. 

Regards

Sudheendra

 

 

Link to comment
Share on other sites

  • 2 years later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 5 years later...

For disabling not necessary options for exporters on server level, you have to modify the file WEB-INFflowsviewReportBeans.xml 
You can find next list of exporters there:
        <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"/>

So, remove/comment out the variants that you do not want use, restart Jasper Server and you will see only your enabled variants of export.

Link to comment
Share on other sites

For disabling not necessary options for exporters on server level, you have to modify the file WEB-INFflowsviewReportBeans.xml 
You can find next list of exporters there:
        <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"/>

So, remove/comment out the variants that you do not want use, restart Jasper Server and you will see only your enabled variants of export.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...