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
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

 


All Replies
Six Stars

Re: how update excel cell value

the process date is a context variable which is passed from jams job.
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

 

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch