Backend:
Use and of the "Backend Merge ..." Workflow Actions.
- DEMO:
https://pdf-merger-test.bubbleapps.io/version-test?debug_mode=true- EDITOR:
https://bubble.io/page?name=index&id=pdf-merger-test&tab=tabs-1Frontend:
1.) Add the "PDF Document Merger" element anywhere on your page.
2.) In a workflow, use the Element Actions "Merge Two PDFs using a PDF Document Merge" or "Merge All PDFs using a PDF Document Merge" to trigger the merge. You'll need to define the urls of the PDFs and a filename. [Additional actions will come with updates; if you need more options, email
me@nicholasrbarrow.com]
3.) Use the workflow action "When PDFDocumentMerge {x}" has finished merging" to schedule a download/save action for your file. Please note, downloading is not included in this plugin; consider a plugin like AirDev's "File Downloader" (
https://bubble.io/plugin/file-downloader-1539124824422x194279356396994560).
[VERSION 5 BREAKING CHANGES NOTICE]
- A base-64 representation of the file will now be generated and available as output states. The "When PDF Merger X has finished merging..." will fire as soon as these base-64 values are available.
- File uploads will now be available after the new "When PDF Merger X has uploaded the merged file..." workflow fires (capture the URL in this workflow type, not the old/previous one)