Skip to main content

i have a content control i want to populate MS word from a Smart Object now i have created the Word documents and added the content control and the next thing I want to do is to use the values inside the smartobjects and use inside the MS Word application.

I am using K2 Studio. Please in what way can this be done? Screen shots would also be greatly appreciated.

Regards

Hello  @Gozni, 


 


You have SharePoint 2007 or SharePoint 2010 being used in your environment correct? This event is only available for those versions of SharePoint and will not work with SharePoint 2013. The link below should outline how you would use the Update Document Content Control method of the Word Documents Event to update a Word documents content controls in your workflow (see Update Document Content Control section in below link). Within that method you should be able to use SmartObject calls to pull data from your SmartObjects into the Word document. 


 


https://help.k2.com/onlinehelp/K2blackpearl/UserGuide/4.7/default.htm#Thick_Client_Wizards/Event_Wizards-General/WordDocuments/Word_Documents_Event.htm 


 


If you are using SharePoint 2013 than you will need to use events from the SharePoint 2013 Documents section in K2 Studio to be able to achieve this. 


 


https://help.k2.com/onlinehelp/K2blackpearl/UserGuide/4.7/default.htm#Thick_Client_Wizards/Document_Events/Document_Events.htm%3FTocPath%3DCreate%7CK2%2520Studio%7CWorkflow%7CEvent%2520Wizards%7CSharePoint%25202013%2520Documents%7C_____0


 


Thanks, 


Samuel 


Reply