ftos.files.pdf.merge
IMPORTANT!
Starting with v24.3.0, this is renamed from mergeDocuments to ftos.files.pdf.merge.
Starting with v24.3.0, this is renamed from mergeDocuments to ftos.files.pdf.merge.
Concatenates multiple PDF files into a single one and saves it to the file upload location.
This is a business logic method for business service components.
Syntax
function ftos.files.pdf.merge(filesToMerge: string[], destinationName: string, deleteFilesAfterMerge:boolean): string
| Parameter | Description |
|---|---|
filesToMerge
|
Array of strings containing the unique internal IDs of the merged PDF files (real names) in the order you wish to merge them. |
destinationName
|
File name of the saved .pdf file. |
deleteFilesAfterMerge
|
|
Return Value
Returns a string containing the saved PDF's real name.