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

Register Custom Exporter


mkusterm

Recommended Posts

I have created a custom exporter and would like to use this for my scheduled reports on js 3.5

However i cannot figure out how to configure js to use my exporter.

Can anyone point me to documentation describing how to config js to use custom exporter?

 

thanks,

mike

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

I did the steps as described by sherman, and was able to register my exporter and run it from the gui only.

however, the scheduler still does not use my exporter.

( I'm attempting to replace the csv exporter with my own )

 

the applicationContext-report-scheduling.xml does not allow me to specify my own bean 

as does the viewReportBeans.xml file.

 

is there no way to inform the scheduler to use my custom exporter?

thanks

mike

Link to comment
Share on other sites

Have a look at applicationContext-report-scheduling.xml. Add your entry in here:

 

    <util:map id="jobExportParametersMap">
        <entry key="pdf" value-ref="jobPdfExportParameters"/>
        <entry key="xls" value-ref="jobXlsExportParameters"/>
        <entry key="csv" value-ref="jobCsvExportParameters"/>
        <entry key="myCustom" value-ref="jobCustomExportParameters"/>
    </util:map>
 

 

You will need to add a jobCustomExportParameters bean that inherits from your GUI exporter like:

    <bean id="jobCustomExportParameters" parent="customExportParameters">
        <!-- property name="abc" value=","/-->
    </bean>
 

 

Sherman

Jaspersoft

Link to comment
Share on other sites

  • 3 years later...
  • 6 years later...

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