Use a temporary file

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

What’s New for Talend Spring ’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

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch