g_currier
asked on
How to add text to a word document control during SharePoint 2013 workflow process
Greetings,
I am trying to find a way to update (or change) a plain text content control in a word document (2013) that is part of a Sharepoint (or Nintex) workflow (also 2013 version). I understand that this would very likely be a custom action, but I have no idea where to start.
Here is the scenario:
The document is generated from SSRS (SQL Server 2008 R2) and then uploaded to a SharePoint document library. Once saved to the library, a workflow will start and either query the DB or use a lookup list to find a username. Then, the title for the user is found and inserted into one of the fields/columns of the document library. I need this title injected into the plain text content control within the document where it will server as a "signature" after the document is sent to print.
How can this be done? I am quite sure there is a way and can be found by searching, but I have run out of search terms to use to find the right article describing this. I am not averse to writing a small powershell script to do this, but I would prefer a method that may be included in a workflow process, thereby reducing the number of systems involved with finalizing the document (powershell comes with its own issues like server access, permissions, etc).
I look forward to any and all responses,
Thanks
I am trying to find a way to update (or change) a plain text content control in a word document (2013) that is part of a Sharepoint (or Nintex) workflow (also 2013 version). I understand that this would very likely be a custom action, but I have no idea where to start.
Here is the scenario:
The document is generated from SSRS (SQL Server 2008 R2) and then uploaded to a SharePoint document library. Once saved to the library, a workflow will start and either query the DB or use a lookup list to find a username. Then, the title for the user is found and inserted into one of the fields/columns of the document library. I need this title injected into the plain text content control within the document where it will server as a "signature" after the document is sent to print.
How can this be done? I am quite sure there is a way and can be found by searching, but I have run out of search terms to use to find the right article describing this. I am not averse to writing a small powershell script to do this, but I would prefer a method that may be included in a workflow process, thereby reducing the number of systems involved with finalizing the document (powershell comes with its own issues like server access, permissions, etc).
I look forward to any and all responses,
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Man... I had some code that I posted to show you how to map but EE was not playing nice and kept crashing... I'm away for a few days so my snippet is not at arms reach.... its used more for custom properties. I think the Built In Properties are just do it automagically... glad it worked ;-)
ASKER