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: 
_AnonymousUser
Specialist III
Specialist III

[resolved] tFileList : Not able the access the global variables.

Hi Guys,
I 'm very new to Talend.
I was checking on the tFileList component, where in i can mention the files in a directory.
I have mentioned the Directory path and also mentioned the format as ".csv".
But when i move to next step, that is, component properties of tInputFileDelimited, Talend should present all the global variables which we can use.
I read in some pages that i have to press Ctrl + space bar to get the list .
I m not able to get that. Is there any other way out?
Sumanth
Labels (2)
1 Solution

Accepted Solutions
_AnonymousUser
Specialist III
Specialist III
Author

Hi
I have replied to your another forum https://community.talend.com/t5/Design-and-Development/tfilelist-Issues-with-using-context-in-autono..., hope it will be useful for you.
Best regards
Sabrina

Thanks Sabrina,
It was the problem with hotkeys.
I had to Close and Reopen the TOS window, to get it work.
Thanks a lot
Sumanth

View solution in original post

5 Replies
Anonymous
Not applicable

For each iteration, you get your file name from globalMap.
E.g.
System.out.println("*** " + (String) globalMap.get("tFileList_1_CURRENT_FILE") + " ***");
_AnonymousUser
Specialist III
Specialist III
Author

Hi Sumanth,
If you are press Ctrl + space bar to get the, what are components used in your job
those components related global variables presented.In that select the global variable based on your component.
for tFileList component global variable is bleow one .
"((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))"
Regards
kumar.talend
Anonymous
Not applicable

Hi
I have replied to your another forum https://community.talend.com/t5/Design-and-Development/tfilelist-Issues-with-using-context-in-autono..., hope it will be useful for you.
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III
Author

Hi
I have replied to your another forum https://community.talend.com/t5/Design-and-Development/tfilelist-Issues-with-using-context-in-autono..., hope it will be useful for you.
Best regards
Sabrina

Thanks Sabrina,
It was the problem with hotkeys.
I had to Close and Reopen the TOS window, to get it work.
Thanks a lot
Sumanth
Anonymous
Not applicable

Hi,
It is great. Thanks for your feedback.
Best regards
Sabrina