cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript get Path of document

fohnbit
Champ in-the-making
Champ in-the-making
Hello!

How can I read the path, where a document are uploaded?
I want to set a rule, where a script is started, after upload.
But I need the path in the script.

Thank you!
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
You can use one of the Scriptnode API
"displayPath" it display path to this node"

var path=document.displayPath;

fohnbit
Champ in-the-making
Champ in-the-making
Hello Mits!

Many Thanks!

It works!