- 13 Dec 2023
- 2 Minutes to read
- DarkLight
Merge Report Document
- Updated on 13 Dec 2023
- 2 Minutes to read
- DarkLight
General
This type of action can be used to merge a report document with another report document, an external file or files in a File Collection.
### Properties
This type of action has the following properties:
Name | Description |
---|---|
Report Document | The report document to be merged. If the property Create New Report Document (see below) is disabled, this report document will contain the document resulting from the merge action. |
Content Type | The type of content you want to upload (see below). |
Merge Type | Append Content To Report Document. If you choose this option, all content will be appended to the report document specified in the Report Document property. Insert Content Before Report Document. If you choose this option, the report document specified in the Report Document will be at the end of the resulting document and the content will be inserted before. |
Create New Report Document | If you enable this option, the result from the merge operation will be written to a new report document. Otherwise, the result will be written to the report document specified in the Report Document property. |
Name | The name of the newly created report document. This property is only applicable if the property Create New Report Document is enabled. |
Title | An optional Expression that returns a string that contains the title of the newly created report document; if you leave this property empty, the title of the report document specified in the Report Document property will be used. This property is only applicable if the property Create New Report Document is enabled. |
Requirements
The following requirements need to be fulfilled:
- All files to be merged need to have the same file type.
- Only Adobe PDF Documents, Microsoft Word Documents, Microsoft Excel Workbooks, and Microsoft PowerPoint Presentations may be merged.
Content Types
Report Document
You can merge the report document specified in the Report Document property with another report document by setting the Content Type property to Report Document. An additional property Content will be available where you can select the report document you want to merge with.
External File
You can merge the report document specified in the Report Document property with an external file by setting the Content Type property to External File. A new property Content Path will be available which is an Expression that evaluates to a string that contains a local or UNC file path to the external file to be merged.
File Collection
You can merge the report document with every file contained in a File Collection by setting the Content Type property to File Collection. An additional property Content will be available where you can select the file collection whose files you want to merge with. The order in which the files from the file collection will be merged is the order in which they have been added to the file collection.