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.

Displaying PDF in container field

Featured Replies

  • Newbies

Hi Guys,

I would like to be able to import a PDF into a container field and actually be able to display it in the record. Therefore if printing the record it would print the PDF.. much like you can with word documents.

I know i can import PDF to the container field but can it actaully display in the record?!

is this possible or could anyone suggest a suitable work around.

thanks

You can import PDF files into container fields??? How?

I once spent *hours* trying to find a way to do this, so I'm happy to be able to pass this on!

To place the title page of a PDF doc into a FM field, open Acrobat and make sure you are viewing the document in Actual Size and that you have selected the Graphics Select Tool. Then Edit > Select All, Edit > Copy, to place on the clip-board. Then just Paste into the container field in Filemaker. As long as the image you copied from Acrobat was Actual Size, you can size the FM container field to any dimension and the contents will 'grow' with the field size. It'll print too.

If you want the whole PDF file in FM, you're in for a bit more work, because FM doesn't allow scroll bars on a container field. Create a repeating container field with as many repetitions as there pages in the doc and copy and paste a page into each (hope this isn't a legal doc!). This repeating field does not have to be on your layout. Then place a button on the layout with a script to get each repetition in turn into a 'show' container field. You'll need a counter field to keep track of where you are. You could have a 'back' button too. That's it!

  • Author
  • Newbies

I just tried this and it seems to work... The only thing was is when printing all the quality of the PDF is lost..

Did you find the same?

No, but that was because I was only ever printing a small version of the PDF title page - bigger than a thumbnail, but not actual size.

If you want to print the actual size PDF doc "in the middle" of your FM file (so you don't have collating issues) you can script this with the Send Message script step to open the PDF in Acrobat, and then another Send Message to print it. Then you retain the original print quality. At least, that's the Windows way.

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.