Introduction
The GenerateDocumentFromWordTemplate
activity can be used to load a word template that contains various placeholders. The placeholders in the document will then be replaced and the document will be stored in the desired file format.
Input Data
The following input data can be configured in addition to the default input data of a https://itsense.atlassian.net/l/c/zBezM4wq.
Word template name
The name of the word file to be opened. The path is relative to the Templates/WordTemplates folder.
Replacements
A dictionary containing the keys, aka the placeholder in the document, and the appropriate replacement.
Culture
The culture of the document as an integer. So if you would like to load the German template, add 1032.
SaveFormat
A drop down value indicating the format. Either PDF, Doc, Docx or Text.
Output Data
Result
A byte[] representing the document.