Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to approach ingesting existing XFA form into my master index XFA form.

Avatar

Level 2

Many users use an existing XFA form for single use.  I want to prototype an Index XFA that ingests the single use forms.  I'd like four effects: 1) the Index copies defined fields from the single use like Title, Date, tracking number, and expiration date and builds an index or table of contents; 2) it attaches or duplicates the single form, in order, below the index page; 3) if the single form has accompanying attachments, those transfer as well (maybe the most difficult effect here to execute); and 4) upon expiration (manual selection okay), delete the row from the Index and remove the pages and attachments, if required.

I have an unlocked single use form and I intend to create pages, match fields, and define an import function that simply reads each field in the single form and clones itself in the Index.

Does something like this already exist?  I'm having difficulty searching online through all the convert pdf ads.

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 10

There's a very cool solution by John Brickman to exchange data between XFA forms you might find interesting.

https://web.archive.org/web/20160421044058/http://blogs.adobe.com/formfeed/2010/07/shared_data_in_pa...

View solution in original post

3 Replies

Avatar

Employee Advisor

@clintalba  i don't think something directly that you can use exists this way. 

Avatar

Level 2

Thank you for your reply.  Here's something I found while searching that is close to what I'm trying:

https://answers.acrobatusers.com/Javascript-populate-data-dynamic-XFA-forms-q26204.aspx

 

I feel there should be a tool to export XML data from one form and import it into mine.  I know the XML structure of that particular import source, so I should be able to map that data and repopulate my form with a copy.  I'll be researching this, but it feels possible. 

 

I really just want to avoid brute force coding all the things and I'm leaning on this community to help me with elegant and simple solutions to make this complex task manageble.

 

Thanks again!

Avatar

Correct answer by
Level 10

There's a very cool solution by John Brickman to exchange data between XFA forms you might find interesting.

https://web.archive.org/web/20160421044058/http://blogs.adobe.com/formfeed/2010/07/shared_data_in_pa...