Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Merging PDFs for FMGo with an external script

Featured Replies

Since appending/combining PDFs with FM Go is not available natively and using a robot machine is not an option, I've dug up a handful of PDF APIs and options. I've got about 1/2 way through the problem, but I am getting some errors with the PDF API and not getting a lot of feedback. If anyone is interested in collaborating, please send a PM. 

Currently, I'm able to send two encoded PDFs from FM to the script and the script will spit back the combined PDF into a container field in FM. Super simple implementation. The PDF that comes back is blank, but has the correct number of pages. The server log shows some errors relating to the PDF API and that's where I'm stuck.

here's some links to the code and questions regarding the issue:
http://stackoverflow.com/questions/34953197/combining-pdfs-with-php-from-encoded-pdfs-error-template-does-not-exist

and 

https://github.com/pauln/tcpdi/issues/3

If anyone has any alternative APIs or solutions, please let me know.

  • 1 month later...
  • Author

I wanted to followup on this. I did resolve the issue. I uncovered a bug in TCPDI API that was causing the issue. Now, filemaker can successfully POST single base encoded PDFs and then the server will spit back a merged and encoded PDF. Filemaker then re-encodes it and puts it into a container field as the new combined PDF. It's simple, fast, and solved my problem! If anyone is interested, please PM.

 

 

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.