We are working with SharePoint and need to dynamically create complex word reports using data from our SharePoint Lists.
We will start with template documents that we grab from a Document Library.
From there, we will search the document for [[[Project Name]]] and replace this string with the actual project name. From there, we name the new doc and upload it to another document library.
We did this before at the app server, using .NET, C# and OpenXML SDK 2.0.
Sorry for the long delay in reply. I’ve been heads-down on another very cool, but very difficult Open XML project, to be announced on this blog in the next day or son.
There are two modules in the Open-Xml-PowerTools that can search and replace text:
There is another module, DocumentAssembler, which also sounds as though it would meet your needs.
I have never written code that takes this approach, but I believe that it is possible.
You must be logged in to reply to this topic.