Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to fill Word form fields using documentformat.openxml

$
0
0

It is a workflow now. It worked fine with Word 2010. Now we are upgrading to Word 2016. It has problem to open the workflow created docx. I cannot figure it out why. So I tried to write code to fill the Word document from a template. I am using DocumentFormat.OpenXml.Wordprocessing to work on the document. I do not know how to fill the fields in the form from the SharePoint item. The following is my code. Many thanks for your help.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>