Expand my Community achievements bar.

Problem getting the name of the PDF

Avatar

Former Community Member
Hi all,



I use the instruction this.path in the initialize method of my main form, but always it shows "undefined".



I have tried that instruction on a blank PDF and it worked (giving me the name of the pdf).



Does anybody knows what I am doing wrong here?



BR
1 Reply

Avatar

Former Community Member
Try event.target.path. In Acrobat form this refers to the Document object, in Designer form event.target refers to the Acrobat Document object.



Chris

Adobe Enterprise Developer Support