Jump to content
  • How to Hide ODT Export Format for Reports


    Dhiraj Pahlani
    • Features: Reports Version: v8.0 Product: JasperReports® Server

    Requirement:
    Our users will not use ODT, how do we remove this from the export options list?

    Solution:
    The steps to hide any required exporter from the export menu remains the same. Please follow the below steps to hide the ODT exporter in your environment:
    1. Open the viewReportBeans.xml file (<jasperserver-pro>/WEB-INF/flows/viewReportBeans.xml) in an editor.

    2. Locate the section <util:map id="exporterConfigMap"> in this file. This section lists the different exporters. To hide certain exporter options, you just have to comment out the ones you do not want. In this case, please comment the ODT part, like:

    <util:map id="exporterConfigMap">
    ...
    <!-- <entry key="odt" value-ref="odtExporterConfiguration"/> -->
    ...
    </util:map>

    3. Save the file and restart the application server for the changes to reflect.

    The ODT export option should now be hidden under the export option menu.
    ___________________________________________________________________________________________________________________________________________
    Ref. Case #02266868


    User Feedback

    Recommended Comments

    There are no comments to display.



    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...