Configuring a JRXML reporting tool

Talend Studio Developer Guide

EnrichVersion
Cloud
EnrichProdName
Talend Integration Cloud
task
Design andĀ Development

You can open a JRXML reporting tool directly from the studio. You can then use this reporting tool to edit/personalize the JRXML templates you have. Two ways are available to configure a reporting tool:

How to set a path to a reporting tool

You can configure a JRXML tool (usually iReport) in the studio to be able to open any of the listed templates in the reporting tool and edit/personalize it according to your needs. To do that, do the following:

Prerequisite(s): You have selected the Profiling perspective in the studio. You have already downloaded a reporting tool.

Warning

Make sure to download an iReport version compatible with the version of the data quality Studio you are using. For further information on iReport compatible versions, see Using JRXML templates in the studio.

  1. On the menu bar, click Help and select Configure reporting tool to open the report tool wizard.

  2. Click Browse and set the path to the reporting tool you have already downloaded.

    Note

    Browse to an executable file in the reporting tool folder. The listed executable files depend on your operating system (.exe, .bat, .sh or ireport).

  3. Click Finish to close the dialog box.

    A confirmation message is displayed.

  4. Click OK to close the message.

  5. In the DQ Repository tree view, expand Libraries > JRXML Template and double-click any of the listed templates. The template will open directly in the reporting tool.

  6. Do all necessary changes and save your template.

    The template is updated in the studio.

How to associate an editor with JRXML templates

Another way to access a reporting tool from the data quality Studio is to associate an editor of your choice for the JRXML files (usually iReport). You can then edit/personalize the template according to your needs. To do that, do the following:

Prerequisite(s): You have selected the Profiling perspective in the studio. You have already downloaded the reporting tool.

Warning

Make sure to download an iReport version compatible with the version of the data quality Studio you are using. For further information on iReport compatible versions, see Using JRXML templates in the studio.

  1. Click Window and select Preferences > General > Editors > File Associations to open the File Association view.

  2. Click the Add button to open the [Add File Type] dialog box where you can define the file type you want to add.

  3. Click OK to proceed to the next step.

  4. Click the Add button next to the Associated editors area to open the [Editor Selection] dialog box.

  5. Select the External programs option and then select from the list the editor for the. JRXML file type you defined earlier, or

  6. Click Browse... and browse to the reporting tool you downloaded earlier. The reporting tool is displayed in the External programs list.

  7. Click OK to close the dialog box and proceed to the next step.

    The selected editor shows in the Associated editors list.

  8. In the File Associations view, click OK to close the [Preferences] window.

  9. In the DQ Repository tree view, expand Libraries > JRXML Template and double-click any of the listed templates. The template will open directly in the reporting tool.

  10. Do all necessary changes and save your template.

    The template is updated in the studio.