This should be simple, right?
I have a PDF form that is submitted. At a certain step in the process, I need to modify the value of one field from within the process. I am using a PDF document in the default formData document variable. To do this, I am using the exportData operation from the FormDataIntegration service to get XML. I then use the setValue service to modify one node of the XML. Finally, I use the importData operation from the FormDataIntegration service to import the modified data back into the PDF.
Problem is that I am getting an error. It says: ALC-FDI-001-304: Only XDP data is supported with XFA forms.
Any advice? Jasmin, Jayan, Paul, anyone?
Views
Replies
Total Likes
My theory is that when you export the data you do get xdp data.
Now when you modify the node you don't have the right xPath to that node and if that's the case, it might be overwriting the entire xml.
This is causing the xml not to be in xdp data format and you get the error.
Could you post the data you get from the exportData operation and then the xml you try to use by the importData?
Jasmin
Views
Replies
Total Likes
Hi Jasmin,
You were right on. Silly mistake. I checked the output xml and the input xml one more time and noticed a mistake. Fixed it and it works great now.
Thanks Jasmin!
Views
Replies
Total Likes