Expand my Community achievements bar.

Convert document form type to XFA form

Avatar

Former Community Member
Hi,



I want to convert a document form type to XFA form variable.

The goal is to extract a field from the document form in order to use it for search temp service.



Thanks in Advance.
5 Replies

Avatar

Level 10
You can use the exportData from the Form Data Integration service to extract the data from a PDF.



It'll put the result into a "document" variable. Then you can use a setValue operation to put the content of the document variable into a XML variable and use xPath to get to the data element you need.



Jasmin

Avatar

Former Community Member
Thanks for reply.

I already tried it. I've gotten xml variable which includes all data but I didn't success to get the data element from it using xPath. I tried to navigate to data element like usually but it doesn't work.

Avatar

Level 10
Can you post your xml variable? You should be able to use xPath to get to the data you want. Post your data and I'll give it a try.



Jasmin

Avatar

Level 9
If you're using Form Data integration to extract the XML data from your form variable, then it will include additional XDP envelope elements. You can use removeXDPEnvelope in this component to remove the XDP envelope, and turn it into regular XML.

http://avoka.dnsalias.com/confluence/display/Public/XML+Utilities+DSC



Howard

http://www.avoka.com

Avatar

Former Community Member
Jasmin, I Finally managed to extract the data element, the problem was incorrect syntax, Thanks a Lot!