Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

requesting repository path in script

How can I give out the repository path of an document to a text field?
0 Replies


Level 10
You would have to get the repository path into a process variable and oush it into the data stream to merge with the form before you render it. That information is not available on the client.
ok, thats clear. Is it also possible to give out the path where the pdf is saved in filesystem finally. Is it possible to set this value to an input field in the postSave-event? How can I do this?


Level 10
Are you saving this on the client and you want that path in the data stream?
Yes, the path of the pdf where it was saved on the local client. We'd like to set this value to a text field of the pdf form. So we can see where it was saved before printing. Should be a kind of


this.rawData=form1.xmp.savedAt (in german "Speicherort" from document properties)

Regards, Leo


Level 10
There is a path and filename command in Acrobat for the currently loaded document. To get at the doc object you can use the command. So to get the filename use and to get the path use Remember to do this after the file is saved.

Let me know that it worked for you.
Hi Paul,

thanks for the help. works. I call it postSave in a textField like this:

this.rawValue =;

The result is for instance "/D/temp/Test1.pdf". So with some corrections (cut the first slash, paste ":" behind the "D") it looks fine for our needs.

With the result is "Empty".