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: 
talendtester
Creator III
Creator III

Can we get the current filepath without the filename?

This gives us the folder path and the file name:
(String)globalMap.get("tFileList_1_CURRENT_FILEPATH")
This gives us the file name:
(String)globalMap.get("tFileList_1_CURRENT_FILE")
Is there a way to get only the folder path stopping before the file name?
Labels (2)
1 Reply
alevy
Specialist
Specialist

(String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY")
If you look in the Outline window, you can see all the globalMap variables each component in your job creates. You can drag and drop these into fields in your job.
You can also in any field, use Ctrl+Space to bring up a similar list, which you can filter by typing, from which to select an available globalMap or context variable.