2 Replies Latest reply on Feb 24, 2011 8:16 AM by fusepilot

    Grabbing the filename of the document a dynamic stamp is being placed into.

    fusepilot

      I need to get the filename of the "parent" document a stamp is being placed into to put into one of the stamps textfields. This was what I was hoping would work inside of stamps textfield custom calculation:

       

      event.value = app.activeDocs[0].documentFileName;

       

      Thats a no go. For some reason activeDocs is always empty, despite the fact I have 3 pdfs open. Does anyone have any ideas on why this is not working? Have a better idea to do the same thing?

       

      Thanks for your help.