how update excel cell value

Highlighted
Six Stars

how update excel cell value

There is a talend job getting data from hadoop hive table and outputting to an excel file.

The excel output file: 

Row 1- cell A1 = Process Date

Row2- is the column headers

How to update the cell A1 in the output file dynamically with the process date? Thank you.

 


Accepted Solutions
Highlighted
Six Stars

Re: how update excel cell value

Jan Lolling's Custom components- tFileExcel components solved my problem.

Here is how it works

1. name cell A1= Process_date in the excel template

2. go to talend and use  tFileExcelNamedCellOutput after tFileExcelSheetOutput and before tFileExcelWorkBookSave

configure the cell output:

cell name                      Value

"process_date"          context.ProcessDate

 

View solution in original post


All Replies
Highlighted
Six Stars

Re: how update excel cell value

the process date is a context variable which is passed from jams job.
Highlighted
Six Stars

Re: how update excel cell value

Jan Lolling's Custom components- tFileExcel components solved my problem.

Here is how it works

1. name cell A1= Process_date in the excel template

2. go to talend and use  tFileExcelNamedCellOutput after tFileExcelSheetOutput and before tFileExcelWorkBookSave

configure the cell output:

cell name                      Value

"process_date"          context.ProcessDate

 

View solution in original post

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog