Getting filepath of document being stamped
I am creating a dynamic stamp that I need to populate with information from the file path of the document that is being stamped. The file path contains a date that I need to parse out and input into the stamp. Unfortunately, I have only been able to get the document name or the file path of the stamp itself. Using event.source.source.documentFullName only gives me the document name without the path. Of course, this.path gives me the path of the stamp only. Is there a way, using javascript in the stamp, to get the full path?
If this is not an option, I would need a way to prompt user to enter a date one time and be able to save that date to be used on subsequent stamping, so they don't have to enter it every time the stamp is used while Acrobat pro is open. It can reset once it is closed. The users need to stamp this specific date (and it is not the current date) on over 200 of the 500+ documents they review each time, and they don't want to have to enter it every time.
Anyone have any ideas?
I'm using Acrobat 2017 PRO.
