Adobe Embed PDF API - XDP Forms | Community
Skip to main content
crich2784
New Participant
October 8, 2021
Solved

Adobe Embed PDF API - XDP Forms

  • October 8, 2021
  • 2 replies
  • 3420 views

 

Does anybody know how Adobe Embed PDF API behaves with XDP - Interactive/Static Forms?

Do they work?  If yes,

Does it respect javascript?

Does it respect required fields?

 

Here is the demo:

https://documentcloud.adobe.com/view-sdk-demo/index.html#/view/FULL_WINDOW/Bodea%20Brochure.pdf

It would be great to have a browser based solution for viewing XDP forms.

 

We have been using pdf.js viewer:

https://mozilla.github.io/pdf.js/web/viewer.html

 

You can upload an Interactive/Static form and it is fillable.  Not all things are respected, like buttons and some javascript.  With this demo, it is easy to test!

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Joel_Geraci1

Dynamic XFA forms are not supported and only the AcroForm fallback is supported for Static XFA. At this time, no JavaScript or FormCalc is supported and no field properties are supported.

2 replies

Mayank_Gandhi
Employee
October 14, 2021

@crich2784  I assume you have a jee server as you are mentioning about the Forms API, just make sure PDF/XDP has schema bound to it and the schema is obtained from the xml you are trying to fill. This would work like a charm. You can use sample xml as well to bind the form in designer

crich2784
crich2784Author
New Participant
October 14, 2021

All OSGI - we are migrating a customer from LiveCycle to OSGI only.

Kosta_Prokopiu1
Employee
October 15, 2021

Hi @crich2784 ,

the use case of interactive, dynamic PDF forms as a data capture tool is a thing of the past. Apart from Adobe Reader/Acrobat, no other PDF Viewer supports it any more. Replacing them with AcroForms would mean to re-build them - and AcroForms are not exactly "latest" technology either.

When you migrate from good old LiveCycle JEE to OSGi only I would recommend to also reform the data capture, using what Adobe sees as best practice. Adaptive Forms with Document of Record. Your XDPs would still be usable in the DoR generation and can serve as base for creating the adaptive forms..

Joel_Geraci1
Joel_Geraci1Accepted solution
New Participant
October 8, 2021

Dynamic XFA forms are not supported and only the AcroForm fallback is supported for Static XFA. At this time, no JavaScript or FormCalc is supported and no field properties are supported.

crich2784
crich2784Author
New Participant
October 8, 2021

Joel, nice to hear from you. 

 

Is there a public roadmap?  If not, is there a non-public roadmap?  You can probably guess the question . . . any plans for XFA based forms?

Joel_Geraci1
New Participant
October 8, 2021

I haven't seen the roadmap but to the best of my knowledge, we're targeting PDF 2.0 with Embed API and I suspect you know what that implies.

 

Also, I don't recognize your screen name or I'd have said "Hi" too.