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

Assigning the file path to a text field

Not applicable
I assume this is simple, but I can't figure it out...



I want to be able to print out the the file name on my form -- preferably the full path to the PDF file, e.g. N:\MyFolder\MySubfolder\MyFormName.PDF



I have been looking at the GetAttribute command but I can't seem to find the file name and path in the XML object model.
1 Reply
pguerett
Level 10
Level 10
The filename and path are not stored in the XML.



The command event.target.path will return the full path and file name to you. The command event.target.documentFilename will return just the filename - no Path.