Jump to content
Sign in to follow this  
andersonk06

Storing and Opening PDF in Container Field

Recommended Posts

I am starting to create a new solution to catalog all of our companies Safety Data Sheets and would like to make the PDFs accessible through FMP14. At the moment I have created a container field that is Interactive and has temporary storage. If I choose "Insert PDF" FMP thinks about it for a moment then opens the pdf I have selected, if I close the pdf I can see that something is in the container but there is no content show. If I move to a record where this has been done the PDF automatically opens, albeit slowly, but I am unable to view the PDF contents without exporting it. If I insert the pdf as a file I see a file icon but am not able to read the file in any way except by exporting it. 

From reading about PDFs and container fields, it sounds like I should at least be able to see a thumbnail of the pdf but I am not able to read any of the PDFs content. Has anyone else been having that problem? A sample file is attached. 

Ideally the pdf would be viewable in the record or by clicking a single button and then could be saved to the user's computer for printing purposes. 

MSDS.fmp12

Share this post


Link to post
Share on other sites

"At the moment I have created a container field that is Interactive and has temporary storage."

Not sure what you mean here. Containers can be embedded, stored only as a reference, stored externally secured and stored externally open. Which are you using?

As for how you wish the container to behave, see: http://www.filemaker.com/help/14/fmp/en/html/edit_layout.10.45.html#1136311

perhaps more specifically, this:

http://www.filemaker.com/help/14/fmp/en/html/add_view_data.4.39.html#1067132

Honestly, I script both Import and Export, because I've not had clients that wish to interact with PDFs within FM. I use Export Field Contents with Auto open.

 

Edited by bcooney

Share this post


Link to post
Share on other sites

Thank you for your response bcooney. 

With 'interactive and temporary' I was referring to the thumbnail generation that is located under Manage Containers and then the individual container which is set to optimize for Interactive content. 

My container field is stored externally open, but I am open to whatever storage options would make this work. 

 

Both of links you sent make me think that I should be at least able to see a thumbnail of the PDF content in my container. I am unable to see any of the PDF content. Is this normal or should you see a preview of the pdf?

Is there any way to view a PDF without exporting it from FMP?

Share this post


Link to post
Share on other sites

Yes, you can view a PDF in a container if it is inserted using Insert>PDF and Optimized for Interactive Content.

Share this post


Link to post
Share on other sites

Any idea why a PDF would not only not be viewable if inserted this way but the full pdf opens in Reader whenever you click into that record (and do not click on the field)? When it opens by itself it also bogs down my whole database. 

Share this post


Link to post
Share on other sites

Andsersonk06: did you ever find out any answers? I have the exact same thing happening to me...

Were you running FMP Advanced as I am?  When I open my FMP db in Filemaker Pro (not Advanced), the containers work exactly how they are supposed to work (the .PDFs are interactive and can be viewed within the container) When the db is opened in FMP Advanced, the .pdf appears as a white block within the container, are not interactive and, very weirdly, open full screen when I switch between layout mode and browse mode...

Anyone with potential solutions to this issue?  Thanks!

Ryan

Share this post


Link to post
Share on other sites

Hi Ryan,

No, I've not yet gotten this to work. I'm running strictly on Pro so i may be having a different problem than you. I think my problem is stemming from the fact that my FMP Server is being accessed through a Citrix network. 

But please do keep me posted if you figure anything out.

Good luck

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By Dellana
      I am using Filemaker Pro 17.  I have created a container field with 'interactive content (PDF, MP3, etc.)' checked in the Data tab in the Inspector. PDF's won't upload.    I've uninstalled and reinstalled Adobe Reader DC.  I've tried other PDF files and they just won't load.  What am I doing wrong?  (I've done is successfully in the past with Filemaker 15 with the exact same PDF files).  I'm using a MacBook Pro with MacOS Mojave Version 10.14.2 (18C54).
    • By Asu
      Hello -- I would like to open pdf files that are stored in a secure external manner. 
      Only the first page of multipage files show in a FM container window (if I';m not mistaken) so I am wondering about using Preview (Mac, of course). I can retrieve the file path to the secure file by processing the text output of the container file, and then use it as a variable filename in a Send Event script step,  but Preview cannot open it.
      Any suggestions?
    • By NBS5000
      Hi all,
      I'm using trying to add an image to a PDF in Scribe, the process works well, however the image I'm using is a PNG with transparency.
      The image is stored in FM and the transparency is retained, if I export the field contents, it is retained too.
      When the image is added to the PDF, it loses the transparency, and the are replaced with white, which means I can't see what's under it.
      Has anyone else had this issue? Is it resolved/resolvable, or is this something where I need to find an alternative solution?
      Thanks
    • By Dean Ingram
      I am trying to get a page count from a PDF file stored in a container field. ScribeDocLoad is successful. Next I'm attempting to use ScribeDocReadValue to get the PDFPageCount. The variable $LastPage is set to ScribeDocReadValue( "PDFPageCount" )
      This parameter, or any other of the metadata values listed in the documentation, results in an error like "Reading values is not supported for the file PDFPageCount"
      The documentation reads like this:
        Am I fundamentally misunderstanding what this is supposed to do? The PDF file has no formal "fields." Its just a scanned PDF. 
      D
  • Who Viewed the Topic

    5 members have viewed this topic:
    Ed@  Bertrand  Noakess  dennis_em  DR. ALI BAHAR 
×
×
  • Create New...

Important Information

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