Use a temporary file

One Star

Use a temporary file

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
Talend | Data Agility for Modern Business
One Star

Re: Use a temporary file

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


How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration



Introduction to Talend Open Studio for Data Integration.