Rendering in custom formats
After deploying the custom emitter, you can see the new rendering formats displayed along with built-in emitters in the following places:
*Preview report in Web Viewer in BIRT Designer Professional
*Output page of schedule job in BIRT Information Console
*Attachment notification page of schedule job in BIRT Information Console
*Export content in Actuate BIRT Viewer and Actuate BIRT Interactive Viewer
The following examples show the deployment and usage of a custom CSV emitter. The CSV emitter renders a report as a comma‑separated file. The JAR file name is The custom format type is MyCSV.
To test the emitter functionality with BIRT Visualization Platform, you schedule any BIRT report design or report document from the examples in the Documents/Applications/BIRT Sample App folder. The examples that follow use the report from the sample volume for an iHub:
Documents/Applications/BIRT Sample App/CustomerList.rptdesign
How to deploy a custom emitter to iHub
1 Copy to:
<Actuate installion folder>/BIRTiHub/iHub/MyClasses/eclipse/plugins
2 Register the emitter with iHub.
1 Open the following file:
<Actuate installion folder>\BIRTiHub\iHub\etc\jfctsrvrconfig.xml
JREM uses this configuration file at startup to load the registered emitters.
2 Navigate to the end of the file to find the following entry:
<node name="BIRTReportRenderOption">
The entry contains a list of emitter descriptions separated by a semicolon. The emitter description must have the format type and the emitter id separated by a colon. For example, the PDF emitter is described as:;
3 Add your emitter description to the beginning of the <entry name="RenderFormatEmitterIdMapping"> tag:;
The whole tag would look like this:
<node name="BIRTReportRenderOption">
<!-- The value is "render_format:emitter_ID" separated by ";", for example,; -->
<entry name="RenderFormatEmitterIdMapping">;;;;;;;;;
3 Restart the iHub to make it load the new plug‑in in its classpath:
*Restart Actuate iHub from StartSettingsControl PanelAdministrative ToolsServices, as shown in Figure 46‑2.
*If you use a separately deployed BIRT Information Console, you must also restart the Web or Application Server.
Figure 46‑2 Services
The following procedures show how to export a BIRT report to a custom format in different products. The procedures use an example format, CSV.
How to deploy and use a custom emitter in Actuate BIRT Designer
1 Copy the emitter to:
<BIRT Designer installation directory>\eclipse\plugins
2 Reopen the designer.
3 Open a report design and choose RunView Report. The new CSV format appears in the list of formats, as shown in Figure 46‑3.
Figure 46‑3 List of available formats in BIRT Designer
How to export a BIRT report from iHub
Schedule a BIRT report to run by choosing Save As on the Schedule page. The new CSV format appears in the document format list. You can also select to attach the output report to an e-mail notification, as shown in Figure 46‑4.
Figure 46‑4 Save As tab in the Schedule Jobs page in BIRT Information Console
How to export a BIRT report from Actuate BIRT Viewer or Actuate BIRT Interactive Viewer
1 Open a BIRT report in Actuate BIRT Viewer or Interactive Viewer.
2 Select Export Content from the viewer menu. The new CSV format shows up in Export Format, as shown in Figure 46‑5.
Figure 46‑5 Export Content in Actuate BIRT Viewer
3 Choose OK.
A file download window appears, as shown in Figure 46‑6. You can choose to open or save the file. The default file name is Customer Order History.csv.
Figure 46‑6 File Download