Update Word document fields hosted in sharepoint

  • 26 October 2006
  • 2 replies
  • 0 views

Badge +3
Hi,

I need to update word document field during an approval.

here is my current project:

We have an intranet application that is used to manage our workflow.
When a process is started, K2 will create a new blank document in sharepoint.
This document contains some fields like 'CreationDate', 'AgencyName', 'ProductName', 'ProductManagerComment'...

During tha process, 5 users should approve the document and add some data : Approver1 should add the 'AgencyName' and 'ProductName', Approver2 adds the 'ProductManagerComment', ...

All User input are stored in the Process Datafields or in the activities datafields.

My question is :
How can I put all DataFieldsValue into the word documents fields? (e.g. for document printing)

Could anyone help me or provider where to find this info.

Thanks

2 replies

Badge +9
You may want to investigate Microsofts DSOFile object [http://support.microsoft.com/kb/224351]. I've seen this used within a Server Event in a K2 Process to update Office file properties on a Word document with Process Data Field values.

Perhaps you can leverage this somehow and insert these file properties into the body of the document.

I hope this helps.
Badge +3
i'll check that, thanks

Reply