Expand my Community achievements bar.

Assigning the file path to a text field

Avatar

Former Community Member
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

Avatar

Former Community Member
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.