The tJasperOutputExec component generates a Jasper Reports from a CSV file. To configure the component, specify an input file and a source JRXML which is the report definition. Set the report type (this example uses PDF). Set the output directory and optionally an output file name.
tJasperOutputExec Creating a PDF |
Jasper Reports can be created using an application called iReport Designer. iReport Designer builds a formatted report using a variety of datasources including a CSV. The output of iReport Designer is a JRXML file which contains the definition of the report. iReport Designer or a Jasper Library will compile and interpret the JRXML file.
The following shows a CSV used in the example.
CSV File Input |
Create a datasource.
CSV Datasource |
Report Query Based on CSV Datasource |
Creating a Jasper Report with iReport Designer |
This is the PDF that results from this example.
PDF Created by Talend |
tJasperOutputExec is an easy way to create a report (Excel, PDF, ODF, etc.) from Talend Open Studio when the data source is a CSV file. For more flexibility, check out tJasperOutput which can also take a CSV file, but takes input from any component.
These are some examples of tJasperOutput:
i am getting output but not *.pdf
ReplyDeleteDoes your Talend configuration match the first screenshot, specifically, that "PDF" appears as the report type?
Delete