This article outlines how to concatenate documents on an advanced level based on CreatemultipartXML.
First of all, please create a new workflow. If you haven’t created a workflow yet, please have a look at this article. Next, add a new step to your workflow, called CreateMultiPartXml.
Once the workflow has been created, set up the properties of this step. To do so, click the [Set Properties]-button.
You are now provided with the properties overview.
There are3 possible ways to add files here that should be concatenated.
1) Create a new file based on a document:
2) Create a new file from an existing note:
3) Create a new file from a SharePoint URL
Step 3 (OPTIONAL):
As you can see below, after every template you have the possibility to define the Order in which your documents will be merged.
In addition, you can select what should happen with the result document here:
Step 5:Now that the XML has been finished, you will also need a step that executes the XML. To do so, you will have to create an AutoMergeWorkingItem.
Figure 9: Create an AutoMergeWorkingItem
Once the AutoMergeItem has been created, please set up the properties of this step. To do so, click the [Set Properties]-button.
In the General-section, please fill the AutoMergeAction with Create Document and specify a Primary Record Url.
In the Advanced-section, please select your XML from the previous step for the MultiDocumentXML:
In step 7, the XML is created for you. If you are familiar with the functionality, you can also build the XML by yourself. In the below example, we have created an XML that changes the order of the documents:
That’s it! We appreciate your feedback! Please share your thoughts by sending an e-Mail to email@example.com.