Skip to main content Skip to complementary content

tJasperOutput Standard properties

These properties are used to configure tJasperOutput running in the Standard Job framework.

The Standard tJasperOutput component belongs to the Business Intelligence family.

The component in this framework is available in all Talend products.

Basic settings

Jrxml file

Report template file created via iReport.

Information noteNote: The Jrxml file is compiled into a Java Class that requires a JDK when the Job is executed. Make sure the current JDK is compatible with the JRE that runs the Job to prevent Java runtime version errors.

Temp path

Path of temporary files.

Destination path

Path of the final report file.

File name/Stream

Name of the final report.

Report type

File type of the final report.

Schema and Edit schema

A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields.

Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this option to view the schema only.

  • Change to built-in property: choose this option to change the schema to Built-in for local changes.

  • Update repository connection: choose this option to change the schema stored in the repository and decide whether to propagate the changes to all the Jobs upon completion. If you just want to propagate the changes to the current Job, you can select No upon completion and choose this schema metadata again in the Repository Content window.

 

Built-in: The schema is created and stored locally for this component only. Related topic: see the Talend Studio User Guide.

 

Repository: The schema already exists and is stored in the Repository, hence can be reused. Related topic: see Talend Studio User Guide.

Sync columns

Click to synchronize the output file schema with the input file schema. The Sync function only displays once the Row connection is linked with the output component.

iReport

Edit the command to provide the path of iReport's execution file, e.g. replacing __IREPORT_PATH__\ with E:\Program Files\Jaspersoft\iReport-4.1.1\bin\, or giving the full path of the execution file such as "E:\Program Files\Jaspersoft\iReport-4.1.1\bin\iReport.exe".

Launch

Click to run iReport.

Advanced settings

tStatCatcher Statistics

Select this check box to collect log data at the component level.

Specify Locale

Select this check box to choose a locale from the Report Locale list.

Information noteNote:

The first line of the Report Locale list is empty. You can click it to customize a locale.

Encoding

Select an encoding mode from this list. You can select Custom from the list to enter an encoding method in the field that appears.

Global Variables

Global Variables

NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer.

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

Usage rule

This component is closely related to Jaspersoft's report designer -- iReport. It reads and processes data from an input flow to create a report against a .jrxml report template defined via iReport.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!