These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

sharing form data inside a portfolio

formatix
Acrobat 9
Registered: Sep 26 2005
Posts: 5
Answered

it is possible to share form data between different xfa-pdfs stored inside a pdf portfolio. How can I realize this?

My Product Information:
LiveCycle Designer, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi formatix,


From a script in the cover sheet you can access both files and transfer data, but that is about all you can do.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
formatix
Acrobat 9
Registered: Sep 26 2005
Posts: 5
Hi Dimitri,

thanks for your reply. Do you know if there is an example anywhere?
My idea: there is a "name" field inside all pdfs within a portfolio, if you fill it out inside one of the pdfs and open another pdf inside the portfolio, the "name" field get the same value.

Perhaps in Acrobat 8 it's the same way with attachments, but didn't find any example.

Best regards
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You won't find any examples because a document script for transfering data is a very awkward solution. For example, which document is choosen as the source. The embedded documents themselves have no knowledge that they are embedded files and the cover document does not recieve events telling it when an embedded file is changes.

Its much better to create a folder level script for filling all of the embedded files at the same time.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script