Thank you for your post.
I was unable to reproduce an issue when inserting a file (pdf) as a reference and having it open when double-clicking with FileMaker Pro 14.0.4 (Advanced) on Mac OS X 10.11.2 and Preview. To attempt to reproduce I followed these steps:
1. Created "Test.fmp12"
2. Created "Container" (container field)
3. Verified Container was optimized for images (Double-Click does not work for interactive content)
4. Inserted 4 PDFs using Insert File on 4 different records
5. Double-Clicked, they opened with Preview
I hope this information is of use. If you have further information needed to reproduce, just let me know!
Thank you for your test. I have followed your steps and produced a little database just like the one you did, optimized for images. When I double-click the inserted pdfs, nothing happens. So I am not getting the same behavior that you do. Any suggestions would be appreciated.
What happens if you right-click on the container? Do you have an option to "Open in Preview"? I see that on my machine. I don't have the same setup as you, but this works (right-click) every time.
In records created in FM 11, When I right-click on the container (i.e .on the icon of the pdf), I get a menu to cut, copy, paste, insert picture, insert file, and EXPORT FIELD CONTENTS. If I choose export field contents, it will export the file (the entire pdf file, not an icon) to a location such as the desktop, and I can open it there. So, that's something. But it's very clunky compared to just double-clicking on the icon to open the file, which works for every record created in FM 11. (To answer your question, I don't have an option to "open in Preview" or another PDF handler.) Thanks for your suggestion.
Specifics: Mac OS El Capitan, Adobe Pro X, Adobe Reader DC, Filemaker 14 Pro.
I misspoke in my first line above. The problem is with "records created in FM 14," not "records created in FM 11." Sorry
1 of 1 people found this helpful
Thank you for your responses.
If I could get a little more information:
-How are you placing the file in the container? (Insert File/Insert PDF, Manually/Scripted?)
-If you right-click on the container and use "Insert File", checking "Store only a Reference", can you double-click as expected?
I look forward to your response.
First off, my setup is different from yours, so this may not be a big help, but perhaps worth sharing and you testing.
Mac OSX Yosemite, No Adobe, FMPA14.0v4
How are you putting the PDF's into the container field? Are you manually doing this in the GUI or is this scripted?
1) If inserting manually using the GUI, I find that I have to either right-click and select "Insert PDF" or drag n' drop the PDF into the container field. In both these cases, the PDF is interactive for me. If I manually select "Insert File", then all I get is the PDF icon. No interactivity, no double-click to open, no right-click options to "open in preview", etc.
2) If I insert the PDF using scripting, then I CAN use the script step of "Insert File". One of the options for this script step is to display "Content of file (when possible)". When I do this, I get all the interactivity desired. See screenshot.
3) After the PDF is inserted into the container field. I can scroll the PDF around, zoom in, etc. If I right-click on the PDF, I get the following options.
4) If the size of the container field on my layout is big enough (about 250 points wide or wider), then I additionally get the overlay graphic from the Preview application. By using this graphic, I can open the PDF with one click on the proper button in the overlay. If the container is not wide enough, then I don't see the overlay when I hover over the container field.
Even though you have Adobe, I would expect somewhat similar behavior. Maybe try testing things with some of my observations. As to why things are different between PDF's added to your dB when it was running FMP11, I was able to dig up a note I found from the 2012 FileMaker Devcon about this. It was in one of the "under the hood" sessions. All I wrote down was that from FMP11 to FMP12, there were changes to how the Insert File script step worked. It was changed to make it easier for the developer to just using a single "insert file" script step as opposed to FMP11 where as the developer, you had to pick what specific script step you wanted to use (insert file, insert pdf, insert image, etc.). My note further says that they left the "old" script steps in place for backward compatibility even though they were not really needed with improvements to the "Insert File" script step.
As to using the GUI manually, it seems like doing a drag and drop mimics the script step of "insert file" in that it figures things out as best it can. The right-click menu options seem to behave like they did in FMP11 in that you have to use the correct one depending on what you want.
Hope this might help some.
I know that I have a different OS from you, but for what it is worth, I can't double click on a PDF in an interactive container and have it open in Preview. This applies no matter what variation I use to insert a PDF.
I can however right-click on a non-interactive container and select insert file and then put a PDF into it. In this specific scenario, I can double-click on the container and it opens in Preview.
3:55 PM UPDATE to my post
The double-clicking only works when I choose to store the file as "a reference" in the non-interactive field. If I store it internally, then double-clicking does nothing. If I do an insert file into an interactive container and choose to store as reference, then I don't get any interactivity functionality and can't double-click to open the file.
Thanks, TSPIgeon! The key was "-If you right-click on the container and use "Insert File", checking "Store only a Reference", can you double-click as expected?"
I knew I wanted to store it only as a reference, but I missed that check box! I guess when I was running FM 11 I had it checked as a default, and when I upgraded to FM 14, I missed setting that up.
I really appreciate your patience and persistence. So pleased to get this right!
Thank you for your suggestions, Doug! As you may see, TSPigeon figured out my problem, but your ideas may help someone else, and they helped me understand how this function works.
Thanks for the help!
I am very grateful. after strugling for many hours this solved the problem also for me.