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.

PDF pages

Featured Replies

I have placed a pdf in a container and use it in the background of a layout. This way, I can print out the pdf with my database fields populating various components of the pdf. It seems to be working well, but only the first page of the pdf is accessible. Is there a way to access the other pages of the pdf?

Thank you,

Fed

Try adding a container field for each page make it a global and you can have the background change dynamically, this is one way there are probably others, if you have many pages in your pdf it may not be practical.

Vin

@Vincent - Why a global container? Given the idea that he's laying fields on top of the form, I would think he'll never swap out the background.

@Fed - Why not just generate the entire document from FM? You could use text on the layouts and merge fields.

I have placed a pdf in a container and use it in the background of a layout. This way, I can print out the pdf with my database fields populating various components of the pdf. It seems to be working well, but only the first page of the pdf is accessible. Is there a way to access the other pages of the pdf?

Thank you,

Fed

Each page of the PDF will have to placed on a page of the layout.

@Fed - Why not just generate the entire document from FM? You could use text on the layouts and merge fields.

Most likely because the text fields need to align with the content of the PDF pages.

@Vincent - Why a global container? Given the idea that he's laying fields on top of the form, I would think he'll never swap out the background.

I took it to be a background image but I guess the post is not too clear.

Vincent

  • Author

Each page of the PDF will have to placed on a page of the layout.

The PDF is locked, so I cannot extract individual pages. Otherwise that is what I would do.

Most likely because the text fields need to align with the content of the PDF pages.

That is correct.

The PDF is locked, so I cannot extract individual pages. Otherwise that is what I would do.

Then you're out of luck.

  • Author

I am using a global field, actually, for other reasons (so I can access it easily).

Is there no way to display anything but the first page of the PDF? I tried expanding the container field on the layout to 4 pages, but that does not seem to work.

The PDF is locked, so I cannot extract individual pages.

What do you mean by "locked"? Can you attach it here?

Also please state your platform and OS.

  • Author

CAMH referral form.pdf

What do you mean by "locked"? Can you attach it here?

Also please state your platform and OS.

I use a Mac, and am using the current version of both FMP11 advanced and OSX.

I hope you can help.

The PDF is attached.

Again, why isn't this printing from FM? Why not recreate the form in FM?

CAMH referral form.pdf

I use a Mac, and am using the current version of both FMP11 advanced and OSX.

I hope you can help.

The PDF is attached.

Hi Fed

I just opened your file in preview, turned on show thumbnails and dragged each thumbnail into a global container that seems to be what you want, I used Mac OS 10.5.8 and FM 10.0.3

I know that this behaviour changed slightly with OS 10.6 and FM 11 but I haven't tested it yet so I can't say.

Vincent

The PDF is attached.

There is nothing locked in the PDF - you have full privileges. Breaking it into individual pages is ridiculously simple in the Preview application.

CAMH.zip

As mentioned - just drag thumbnails to layout.

CAMH.fp7.zip

  • Author

Again, why isn't this printing from FM? Why not recreate the form in FM?

That would be way too much work for a form that changes frequently.

There is nothing locked in the PDF - you have full privileges. Breaking it into individual pages is ridiculously simple in the Preview application.

As mentioned - just drag thumbnails to layout.

CAMH.fp7.zip

I saw no thumbnails, as I would normally, in preview. I only saw text where the thumbnails should have been.

Since you suggested this so intently, I worked with it, and found a way to show the thumbnails, and now it works just fine.

Sorry about that. I just noticed the egg on my face...

As a matter of good practice, I'd suggest you always insert images onto your layout (or into a container field) explicitly - i.e. by way of Insert > Picture… - rather than pasting or dragging.

  • Author

In the process of trying to figure this out, I came across another idea: Using a web viewer to access the PDF from the hard drive. This would help in keeping the size of the database smaller.

It seems to work great.

Thanks again,

Fed

Not sure why your web viewer won't print, but it's not a good idea anyway - because the web viewer will always be in front of your fields.

To keep the file size down, insert the picture onto the layout as reference only.

  • Author

Not sure why your web viewer won't print, but it's not a good idea anyway - because the web viewer will always be in front of your fields.

To keep the file size down, insert the picture onto the layout as reference only.

Another oversight on my part. I had to click off "Hide when printing".

You are right. I cannot seem to place the fields in front of the webviewer.

Thanks for the suggestion, but how do I insert the PDF onto the layout as reference only?

Not sure why your web viewer won't print, but it's not a good idea anyway - because the web viewer will always be in front of your fields.

To keep the file size down, insert the picture onto the layout as reference only.

Assuming this won't be used on Server.

  • Author

Assuming this won't be used on Server.

That's right. I prefer local solutions for more security and speed.

how do I insert the PDF onto the layout as reference only?

It's an option you'll see when you choose Insert > Picture…

  • Author

It's an option you'll see when you choose Insert > Picture…

Great! Thanks a lot!

Do you happen to know if there is a way to move fields around using scripts?

Yes, I do: there isn't. Why would you need this?

  • Author

Just to try to limit the amount of layouts I use.

I guess I am doing things the best way after all.

Thanks everyone!!

  • Author

Again, why isn't this printing from FM? Why not recreate the form in FM?

Maybe I didn't understand your suggestion. Is there an easy way to copy an existing PDF and then generate it in FMp, or would I have to rewrite the entire PDF myself?

You'd "rewrite" it. I really don't see what you are "saving" by placing a PDF in the background, especially since you said it'll change frequently (needing to "move" fields).

If you are not the creator of this form, perhaps you can ask them for an Acrobat form and not do this at all in FM.

ask them for an Acrobat form

Now you got me interested: what exactly would you do with an Acrobat form?

Comment, what I meant is that they simply provide a PDF form to fill in. Forget using FM.

I thought the idea here was to enter and manage the data in Filemaker, while being able to produce filled forms for other parties (e.g. when referring a patient to a clinic).

I've assumed a lot about the reqs on this one. What throws me is that the form changes often. So, he's not in control of the data needs. Sounds off.

the form changes often

IIUC, there are different forms for different occasions.

  • Author

IIUC, there are different forms for different occasions.

There are 8 forms I use. One changes frequently.

The purpose of using FMp is to automate the form filling process. To date, the secretary has been filling them out by hand.

  • Author

There is nothing locked in the PDF - you have full privileges. Breaking it into individual pages is ridiculously simple in the Preview application.

This form appears to be locked. I cannot extract the pages. I hope there is an easy way that I am just not seeing.

Is there a way to display all the pages of a PDF on a layout?

Thanks again,

Fed

Form 1.pdf

This form is fillable. I suggest you you print it to PDF first. Then open the "printed" copy, select the icon of the first page and do Edit > Copy, File > New From Clipboard. Save this as page 1, and do the same for the rest of the pages.

  • Author

This form is fillable. I suggest you you print it to PDF first. Then open the "printed" copy, select the icon of the first page and do Edit > Copy, File > New From Clipboard. Save this as page 1, and do the same for the rest of the pages.

I actually tried that. I am on a Mac, and the 'Save as PDF' if greyed out.

Any other suggestions?

I don't know - it worked for me:

Form 1a.pdf

  • Author

I don't know - it worked for me:

Thank you very much.

Do you use a mac?

Also, do you know if there a way to display more than the first page of a PDF on a layout?

Also, do you know if there a way to display more than the first page of a PDF on a layout?

That question was answered - and examples provided - at about message #4.

You must separate the pages and place each one.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.