Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

OutPut file dynamic name

Hi guys, I am generating several files with tmap and outputfile and I want them to have the name from one row of t_map. This is my job:
0683p000009MHBb.png

This is what I am trying to do. With "talendgetdate" I can get the date but I don't know how to take the name of the row. I tried using global variables but with my job, the "setglobalvar" creates the global variable when I have already sent the file. I would like to know how can I do to make it first or another way to get the name of the row at tmap and put it into the name file.

0683p000009MHBg.png

Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hi,

To get a tMpap property, use the row after the tMap : global. Click on this row to see all properties.

On your tFileOutputDelimited, use your property as global.your_property_filename. You can delete the tSetGlobalVar component because your data is in your global row.

Personally, rename your global row to avoid mistakes : an output row after a tMap don't use global variable.

Arnaud
Anonymous
Not applicable
Author

I am not sure If I understood what you just explained.
What I want to do is just have as a filename one row from my tmap table, for example: "row1.id" . To do this do I have to edit the tmap settings or create something else like setglobalvar? Thanks.