I need some help regarding a Acrobat Portfolio which includes some XFA pdf forms and the people from the Acrobat Forum told me to post it hiere... 🙂
I have a PDF Portfolio (created with Acrobat), including 3 interactive PDF forms (XFA-Forms, created with Live Cycle). What I want to do is have a script on document level of the portfolios cover sheet which counts the pages of all attachments and puts the String "Page X from Y" to a XFA form field inside each attachment. This is how the script looks like right now:
Now what I see is that something happens and the documents are filled really with content, but in acrobat reader, only the last attachment remains with the pushed field value, the other two attachments remain without the value. How can I assure that the values will be pushed to all documents using acrobat reader (XI)? Are there any alternatives like global variables (but I cannot have a folder or app level script - only document level)..
I also figured that the operation "doc.closeDoc(false)" does not work with acrobat reader for some reason. So it could be that because I don't close the docs there is some problem with several open docs...