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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
adiarnon
Creator III
Creator III

The path of the file

hi,

in my script i need to add

if ( the path that this document are in='e:\...',

     exit script,

             continue)

Is there any function that can give me this (the path that this document are in)

tnx,

adi

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Try the DocumentPath()

You can assign the path into variable. Like

Let vPath=Replace(DocumentPath(),subfield(DocumentPath(),'\',-1),'')

View solution in original post

2 Replies
settu_periasamy
Master III
Master III

Try the DocumentPath()

You can assign the path into variable. Like

Let vPath=Replace(DocumentPath(),subfield(DocumentPath(),'\',-1),'')

Chanty4u
MVP
MVP