Reputation: 7792
Is it possible to fill out an infopath form and submit it via a C# console application?
If yes, then how?
Upvotes: 3
Views: 5181
Reputation: 11
Upvotes: 0
Reputation: 1
MrFox is right, an Infopath Form is just an Xml document that conforms to certain rules, so as long as you create the text file with the correct Xml markups, then you've created an Infopath doc. There are, however, programmatical ways to manipulate a document using the Infopath space. In particular, you can create a new Infopath document from an Infopath template. Lookup more information on XDocuments2.NewFromSolution()
to see some examples.
Upvotes: 0
Reputation: 3253
Yes, you can create a XML file within your C# application and push it to your Sharepoint Form Library. Sharepoint won't realize any difference.
Just ensure two things:
Upvotes: 4