The following activities let you handle specific actions in MS Word:
- Fill Word Template
- Word Update XML
Fill Word Template
This activity fills a special prepared Word document with data.
After providing a template, fields can be loaded from the template and will automatically be filled into the columns of the table.
How to create a word template
-
enable ‘Developer Tools’ in Word
-
add a form field of type ‘Rich Text Content Control’
-
enter the following text in the form field: <Content Select=“./MyFieldName“/>
(compared to the screenshot above: Name, tb_Kunde_Straße, tb_Kunde_PLZ, …)
Parameters
Name |
Usage | Description |
---|---|---|
Template document path | Required | File Path where the Template is, needs to be reachable from the server |
Table Values |
|
Consisting of WordTemplate field and the value with which it should be replaced. As the activity gets the values passed as text and splits by “;” ; is not supported in values |
Output document path |
Required |
Directory where the Template is saved after replacing Values |
Output document name templte |
Required |
Name of the generated Document Supported Placeholders:
|
Output Document Name |
|
Name of the generated Document, including the path |
Word Update XML
This activity updates a custom XML part in the input Word document passed as input via the input attachment field.