Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

The ominous Form Server Submit Form QPAC

Avatar

Former Community Member
I've seen here at least one more discussion thread regarding the ominous
Form Server Submit Form QPAC. I think many of the user got confused since this isn't a self-explanatory QPAC, espacially the name!



I've also studied the appropriate documention
"Using LiveCycle Forms QPACs". The documentation shows how to use the input and output variables of the QPAC. But it doesn't explain actually the intended use (in my opinion).

The bad thing on this is that I think the QPAC could even help me, if I would understand it.




Easy & short question:

Can I use this QPAC to convert a pdf document (stored in a document variable) into a form variable?



Any Feedback is welcome...

Nico
1 Reply

Avatar

Level 9
Hi Nico



Some background. When Adobe first launched LiveCycle, the first capabilities they needed to expose was encapsulated as Forms Server, and it provided:

1. Rendering a form. This would take a PDF or XDP file, plus some xml data, merge them together, and produce a PDF file.

2. Handling a form submission. This would take the data from an http request coming from a Submit button on a form, process it, and extract the XML data.



The Forms "Submit" QPAC is basically the submission API encapsulated as a QPAC. If you want to know exactly what it does, the best place to look is the LiveCycle Forms documentation.



So, to your question:

If a document variable contains a PDF form, you can use the Form Submit QPAC to extract the XML data.

A form variable is really just the XML data for a form, plus a reference to the PDF or XDP file that should be used for displaying the data - so if you assign the extracted XML to the appropriate node in the form variable, it should work.



I hope this long ramble is helpful.



Howard

http://www.avoka.com