Creating a new infopath form from a custom sharepoint webpart

R

Richard Wilson

I have a custom web part.

When clicked it creates a new XML file based on the infopath
template.xml populates it with data from several sources and then
saves it to the relevent document library.
(the Infopath forms were in an extracted state on the server)

However once the form is opened by a user it contains calls to a web
service, so to stop the annoying security messages I need to sign the
form.
This can only be done with a non extracted file so my question is:

Does anybody know how to open a XSN from code and populate it, and
save it back without any user interaction from code?

Richard.
 

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.

Ask a Question

Top