Use a temporary file

Highlighted
One Star

Use a temporary file

Hello;
how can i use a temporary file to store data and later use this file.
I can create a temporary file with "TcreateTemporaryFile but i can't put a data into.
Please can you help me.
One Star

Re: Use a temporary file

First, you need to decide if you really want a temporary file or just have the regular output file and then the input file with the same name.
Some hints on how to use the temporary file can be found in 4347
Community Manager

Re: Use a temporary file

Hello romyos
Use the global variable: ((String)globalMap.get("tCreateTemporaryFile_1_FILEPATH")). On any text field, press Ctrl+blank space, you will see a list of global variables. Please see the screesnhot.
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Use a temporary file

Hi;
Thank you very much.
Problem resolved

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog