Merge PDF
Comments
-
I have a folder with two PDFs in it.
I want to create a third document in that folder that is the concatenation of the first to. Basically, I want to take PDF1 and PDF2, squish them together into PDF3.
Im using the [i]Merge PDF[/i] function in a Decisions flow to merge the two documents together. However, the output of [i]Merge PDF[/i] is not a document. Its a Byte Array. How do I turn that Byte Array (Byte[]) into an actual PDF document?
(I have found a workaround using the [i]Document Viewer[/i] in a form. However, I shouldnt have to open a form to do this. I dont want a form to pop up for the viewer. I just want the merged PDF document to be created and saved)
T.
-
Ok, heres how we did it.
The output of the Merge PDF function is a Byte Array (Byte[]). Byte arrays suck and dont do anything for me. So, we used a Load From File Data function. This takes the Byte Array and converts it into a File Reference. File References are gold in Decisions. I was expecting a Document as the output of this flow, but that will never happen because Decisions doesnt have a function to create documents (at least not PDFs). However, the File Reference can be a pdf if you give it a .pdf extension.
[i]edited by tweatherstone@wealthforge.com on 7/16/2018[/i]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions