If you're referring to an InfoPath form (XML data) as opposed to an InfoPath
form template (the blueprint for a form), then yes. InfoPath forms are
nothing else but XML files and surely you can generate these using .NET code.
The only thing you would have to do is point each XML file to the right form
template to use and make sure you add the processing instruction to the XML
file so that it is recognized as an InfoPath form. Fields (=controls) on the
form just follow the schema defined for the form template.
I've never tried it myself, but you could try extracting the form files,
study the structure, and try to recreate all the files that make up the XSN
package.
Is there a way to compile the edited extracted files back into an xsn?
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.