You are viewing limited content. For full access, please sign in.

Question

Question

Combine Word Documents

asked on December 20, 2018

Hello,

  I have multiple word documents with track changes in the repository. How do I combine these multiple word documents into a single one? Is it possible to use SDK activity to do this please? Thanks.

 

Priya

0 0

Replies

replied on December 20, 2018

The SDK doesn't natively have any tools to manipulate Word documents. You'll have to use the OpenXML SDK from an SDK Script activity.

1 0
replied on December 20, 2018 Show version history

Or try using the Microsoft Office interop easier to handle.

using Word = Microsoft.Office.Interop.Word;
code sample with Office Interop

 

0 0
replied on December 21, 2018

The Office interops assume you will be running Office in an interactive user session. Workflow runs as a service, so there's no user session to launch Office applications in.

1 0
replied on December 21, 2018

Of course, you must detach the office files and call a program with a shell to do the requested processing and then reinject the result in the repository.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.