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: 
lmit
Creator II
Creator II

File creation

Hi all,

Is there a way where I can create a file when the file is not there in a folder
Tcreatetemporaryfile will only create a file but how to check whether the file is there or not

Any suggestions

Thanks in advance,
Lmit
Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@lmit ,check the below screenshot.

0683p000009M48H.png

View solution in original post

4 Replies
manodwhb
Champion II
Champion II

@lmit ,check the below screenshot.

0683p000009M48H.png

Anonymous
Not applicable

Just use tFileExists component before Tcreatetemporaryfile  to check the file exists or not

Hemant4
Contributor
Contributor

Use tFileExist component to check if file exists, if output of (Boolean)globalMap.get("tFileExist_1_EXISTS") is false then you can trigger tFileTouch component to create file.


Components.JPG
lmit
Creator II
Creator II
Author

Thanks all for the replies