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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to use tfilelist

hi all can you tell me how to use tfilelist, and in sach cases it is uses? 
thanks all 

Labels (2)
3 Replies
Anonymous
Not applicable
Author

Take a look at the documentation -- the help is accessible from inside the studio by selecting a component and pressing f1

https://help.talend.com/search/all?query=tFileList
Anonymous
Not applicable
Author

how to do something, when finished iterate?
Anonymous
Not applicable
Author

This is all covered in the doc and the tutorials. It will be very helpful for you going forward if you review these 0683p000009MACn.png

Lets say you want to read all files in a dir and print their content to the console. to do this you would set up a job like this:
tFileList_1--iterate-->tFileInputFullRow_1--row-->tLogRow_1

in the tFileList you would put in the directory you want to scan for files and a file mask if needed.
in the tFileInputDelimited you would make the filename a call to the globalMap which is where the tFileList stores the current iteration's filename. for example: 
((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))