Expand my Community achievements bar.

xfa.host.importData() does not work on certified document

Avatar

Level 2

Hello experts

I have been fiddling around with Adobe forms trying to achieve following:

1) Submitting data to some server script (for validation and storing XML inside DB)

2) Retrieving form (merging template with corresponding XML data)

First part is rather straight forward.

Second part ... well, I spent few hours on that w/o any luck.

I am trying to load existing XML data inside PDF using xfa.host.importData() command (I tried both scenarios, with and w/o file path) but although I have certified (dummy certificate) my template using Acrobat Pro I am still not able to load the data inside the form.

Please note that Adobe template has been created in LiveCycle Designer ES3 and later Reader Extended (and certified) in Acrobat Pro X.

Can anyone share some ideas what I might be doing wrong?

Regards

Michael

1 Reply

Avatar

Former Community Member

Hey Michael, I'm running through the same problem here, document is certified, but ImportData commande with parameter still doesn't work....did you find a solution for easily importing stuff into your PDF ?