Creating Container Field for PDFs
Need help in creating a field to contain PDFs. Tutorial says use the container field, but can't get it to work.
FM Pro 11 v2 for Mac
How doesn't it work for you?
I would guess that you need to enter layout mode, select the container field and then use the options at the very bottom of the inspector's data tab to select "optimize for interactive content" so that Insert PDF is possible for that instance of your container field.
I don't have options at the bottom of the inspectors data.
When I drag a PDF to the container, it won't drop in...just disappears.
whoops, those are FileMaker 12 options. Didn't see the FMP 11.
I don't recommend using drag and drop with FileMaker 11 containers. It doesn't work with any file on Macs as far as I know and it does the equivalent of Insert Object on Windows--something not supported in FMP 12 and inserted objects cannot be exported from the field and this creates issues if you ever have to export your data into a new possibly updated copy of the file.
The only drag and drop that works and does not risk future problems is to drag and drop from one container to another.
Use the Insert File (windows) or Insert Picture (Mac) menu options to insert your PDF file. Either that or just put the file path to the file into a text field and use it with a Web Viewer to open and view the PDF inside the web viewer.
Thx, That works, but not well.
It only loads one page, and will not load multiple pages or many PDFs.
I'm looking for a solution where I can hold the PDFs in a file. Typically, they are customer products and price lists... with several pages.
Also, how does one copy the path to a file? Never did that on Mac.
The inability to see more than the first page of the PDF (can't see ANY page on windows) is why FileMaker 12 added the "interactive" optimization and a new Insert PDF menu option. This allows you to view the complete contents of a PDF in the container field and on both platforms.
If you insert the PDF into a container field using Insert file with the store a reference option selected, Get value ( ContainerField ; 2 ) will return the file path to the file. I think you'll need to do a bit of editing on that path to make it work as the URL for the web viewer but it can be gotten to work.
Your other option is to use the container field to open the PDF in a PDF reader. If a file is inserted with Insert File | Store a reference, double clicking it will open it. If inserted with other options, export field contents can open a copy of the PDF file.
Using FMP 11 on a Mac:
In Browse Mode, right click on Container field, select Insert Quicktime, select your multipage PDF.
When viewing the container, click on field and a Quicktime movie player control should appear. Then use Quicktime movie controls to page throught the multipage PDF document.
All, I'm not getting there....
"export field contents" only puts page one in the container, no link, and clicking of the page gets nothing.
Quicktime does not load, it's grayed out.
However, thanks for the help.... I'm not giving up.
I just checked my multipage PDF container fields on both FM11v4 MacOS snow leopard and lion. My Insert Quicktime is Bold.
I checked my Inspector Data Tab for Field entry: allow in browse and find mode.
I checked Container field validation: Allow user to override during data entry
I did a Spotlight search for Quicktime and found Quicktime installed my computer.
From FMP11 help
Mine works as I said above:
Export field contents exports the entire contents of a container field to a specified location. An option in the dialog that appears will, if selected, cause the file to automatically open with the default application specified for that file type by your operating system. It does not, in any way, alter the contents of the container field.
Jim's method, by the way, looks like a much better option -- at least for Mac systems.
I am puzzled for sure, Larryo.
1) My Quicktime is version 10 on Leopard. You might do a Software Update for Mac OS on you computer.
2) FMP security on your file should allow you to read and write.
3) By selecting the FMP11 file in MacOS finder, do a Get Info... command I and check the permissions for that file to make sure it is read and write. There has been a FMP bug on that. It can be fixed using Mac Disk Utilities.... Repair Permissions found in the Utilities folder.
4) I programmed my files using FMP 8 advanced not normal FMP8 but i find no special FMP advanced privileges on that.
FMP 12 as in Phil's whoopppss.. now inserts the PDF and FMP12 put on Quicktime mimic controls to page through the mulit pages.
Crossing my fingers for you....
From FMP11 help>>>
My Insert quicktime is Bold, too.... but the application is greyed out, so it can't be selected. Also checked Container ffield validation: Allow user to override during data entry..... worked fine.
Still puzzled. May reload the OS and the FM software.
You insert a PDF file, not the application Quicktime. If Insert Quicktime is BOLD, forget the thought about a Quicktime movie but select a .pdf file. It is a bit misleading.
Put a multipage .pdf file on say your Desktop, then in FMP container field ... Right Click and select ....Insert Quicktime... Use the File location dialog to find your Desktop and select the multipage .pdf file and not the Quicktime application.
Insert Quicktime... should have been labled.... Insert Multimedia and PDF files... by Filemaker
That WORKED! Thanks, however can only put one file in there, and it's a bit awkward to view... but appreciated it.
Is there a way to put multiple PDFs in FMP somehow, and just click on them and they would open in acrobat?
However, thanks much for the clear explanation.
I spent very little time using FMP11 before moving go FMP12 [most of my years of FMP experience is in FMP8 and earlier]. The main reason I changed to FMP12 was to use the container fields to reference multipage PDF files, just like you [the reason i chimed in on your post].
Here is a quick view of what FMP and MacOS combo attributes:
1) FMP is NOT a pdf file "viewer" or "printer". There is always a slight blurr, although readable in zoomed in modes.
2) FMP12 CAN connect PDF files to make a multiPage PDF document.
3) FMP12 CAN use a file path reference to display, like we have discussed, an external pdf file in your container field
4) Only ONE file reference or actual pdf file CAN be use per Container field.
5) Many PDF files have restrictions [and benefits] created by the maker of that PDF file, which FMP can NOT change.
I use the Container iike a "thumbnail" so that a user can verify and if he wants just to "peek" he can use it with mulitpage capability.
The user wants to Print a cripst laser printer quality, search for keyword, or use a pdf viewer's rich set of control? FMP is not the place.
MacOS has obtained a License from Adobe to use Safari, Preview, Print pdf, et. al. to do that. Or you can set your Desktop to default to Adobe Reader too.
So this is a way to do that....
Use the same right click menu to Import Quicktime... from the desired container field with the PDF file already imported [FMP11], but select Export Field Contents... [this menu changed form MacOS leopard to lion but Export is in both]. You will get a File locator window to create an External file in .pdf extension and at bottom it says After Saving: check the option to OPEN that new saved copy.
Your default PDF application will open and present your copy of the multi page PDF as normal.
That copy can now be printed etc. with crisp printing.
I have programed a button to do that task in FMP11 using a script.
However, I am working on a FMP12 to hopefully print useing the reference file that can be also viewed too, but I am not to that part yet!
I hope this helps you pick your "poison".
PS: if this discussion solved your problem, select a response that solved it, so that other forum users can see the big green check mark to focus them. Also I am not a FMP12 salesperson.
Retrieving data ...