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.

Download PDF from URL

Featured Replies

I use tpdf to create pdf files from a FileMaker database.  This results in a URL that opens the "Save As" dialogue box. I would like to have a FileMaker script that will opens this URL and automatically saves the pdf to a programmed-in location.  Will SuperContainer do this?

I don't know about SuperContainer but...

For security reasons, you can't bypass the Save As from a browser (think about the fun malware creators would have if the browser would simply save the contents of a URL to an end users hard drive...)

But - FileMaker has an Insert from URL script step, and an Export Field Contents script step.

So, if you can know the URL, you can insert to a Container field, then export the contents to a known location.

Depending on the URL you get back, you might be able to just pass it in to SCSetContainer as the 'data' parameter and have it save to a folder on your SuperContainer server.

  • Author

Thank you both for your suggestions.  I'll give the Insert from URL script a try.

Ben, my URL leads to a php page that can either (depending on how I code it) 1) create a pdf in the browser, or 2) create the pdf and open the "Save As" window so the pdf can be downloaded.   If I use SCSetContainer, do you know if I would end up with the pdf or the code?

The path you give SC will need to be a direct path to a file. If the first option is a link to a '.pdf' file then it should work but if it is a link to a .php site with some parameters, I'm not sure.

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.