As the title suggests, I'm simply looking for the correct method by which to extract XML data from a Document Form and to import that data back. I am aware of the exportData and importData services available to me but have been unsuccessful in configuring them properly to get the data from the form.
you would need to use the processFormSubmission. this takes in the document, which is inside the documentForm variable,set the other properties notable pdfToXdp = true
you should get the form data in xml format
let me know if you need any help on this, I have a process some where on my laptop