I have a very long form where each page is separate by pagination. Is it possible to save the individual pages of one form to the repository so that they each get their own metadata?
Discussion
Discussion
Is it possible to save form pages to the repository by page break?
posted on December 15, 2023
0
0
replied on December 15, 2023
•
Show version history
I can think of two ways to do this:
- Set-up archival versions of each "page" and do an archive task for each one...
- Let's say the form has 3 pages.
- Make 3 copies of the form, naming them something like "Archival of Page 1", "Archival of Page 2", and "Archival of Page 3".
- On each one, delete or hide everything except the particular page itself.
- Then make three archival activies, selecting the archival copy of each form for that particular activity.
- Alternately, you could run a Workflow after the form is archived.
- Find the entry.
- Then run a loop on the number of pages within the entry.
- Within the loop run a Create Entry activity to create an entry for the current page.
- Then a Move Pages activity to move a single page (probably page 1) from the original entry into the new entry that was just created.
- Loop repeats until it runs out of pages.
- You can even make the Move Pages activity delete the original entry after the last page is moved out of it.
0
0
replied on December 15, 2023
I currently am using your first example, which does work fine but there are about 20-22 forms within the large form so its a lot of copies and individual repo actions in the business process. Takes a minute to 90 seconds just to save it every time a change is made, and then you have to maintain each copy for changes as well. It works, but is tedious.
The second one is worth trying, however the pages numbers vary and may not be consistent depending on how other questions are answered. This is a high volume form that thousands of people fill out about the same time so workflow already runs a lot during this time frame. I'll have to give this a try.
1
0
You are not allowed to follow up in this post.