Update Word document on approval

  • 3 December 2009
  • 1 reply
  • 0 views

Badge

Hi,


I need to update word document field or table cell after an approval.


Here is my current project:


New Policy in word document will be created for Approval. Whoever approve that document will have thier userName and Date Time of approving updated into the word document fields? (e.g. Header on every page, for document printing). Word document will be host in Sharepoint 2007. Office 2007 will be use to create the word document.


Could anyone help me or provide where to find this info. Thanks.


i did some research and came to this Microsofts DSOFile object [http://support.microsoft.com/kb/224351].  But how do i make use of this in K2BlackPearl? 


will there be other methods like a built in in Blackpearl itself to do this more effectively?


1 reply

Badge +3

You'll have to do a server event and write c# .net code to accomplish this.


Quick google search about creating and editing word 2007 documents should get you rolling.


http://blogs.msdn.com/erikaehrli/archive/2006/08/11/word2007DataDocumentGenerationPart1.aspx

Reply