Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to add new Exporter format to UI pages of scheduler in TIBCO JasperReports® Server 7.1.0


    ghudson_1
    • Version: v7.1 Product: JasperReports® Server

    Issue Description

    The TIBCO JasperReports® Server Ultimate Guide's "Adding Custom Export Channel", https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v710/adding-custom-export-channels , covers the customization for adding a new exporter format (aka channel) for ReportViewer, REST, and actual job execution, but it lacks discussion of steps to ensure the new format can be chosen in the UI of the scheduler


    Resolution

    Follow the steps in the guide, as indicated, in the viewReportBeans.xml and reportJobBeans.xml you'll want to basically mimic other pre-existing entries for exports.

    The guide doesn't specifically mention this, but you need to add your new output format entries to the availableReportJobOutputFormats in applicationContext-report-scheduling.xml.

    Then you need to edit and recompile a few source files. Both of these contain hard-coded values/constants:

    1. jasperserver\jasperserver-api\engine\src\main\java\com\jaspersoft\jasperserver\api\engine\scheduling\domain\ReportJob.java
    2. jasperserver\jasperserver-api\engine\src\main\java\com\jaspersoft\jasperserver\api\engine\scheduling\domain\jaxb\OutputFormatXmlAdapter.java

    The edits above will need to match the naming conventions you used in WEB-INFflowsreportJobBeans.xml, and the numeric values from applicationContext-report-scheduling.xml. In earlier version you'd need to edit some of the htm templates, .jsp or .js files but now the values are pulled from the availableReportJobOutputFormats entries, so no any presentation layer parts need to be touched.


    Ref. Case 01677793


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