How do I convert a Infopath form that I created in sharepoint to Word
Thanks
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI have to make some assumptions here as the question does not go into much detail. I assume you want to automate the conversion from InfoPath to MS-Word whenever a new form is saved in a Document or Form Library, which is a common requirement as it makes it easier to distribute the file to people who don't have InfoPath installed or who don't have access to the underlying XSN file.
There are a number of approaches you can take, the most obvious ones are:
Create an Event Receiver in C# / vb.net that reads the data out of the XML file and programmatically merge this data into an MS-Word template using Microsoft's free OpenXML libraries.
Use a third party tool for converting InfoPath to MS-Word, Excel or PDF. See this example. (Disclaimer, I wrote this post so consider me biased)
In the InfoPath form follow the next steps:
A)File
B)Save&Send
C)Export to Web -This will save the file as a .mht file.
D)Right click the .mht file and open with word.