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.

Just upgrade to 8.5. Quesiton regarding viewing pdf in filemaker pro 85

Featured Replies

I created one field and 1 web viewer.

[color:green]1)container Field

2)Web View

The container is holding the pdf file. {I did a insert file to put pdf in container}

Now, my problem is with the Web Viewer Setup. If go to custom.

{I tried specifying the container field name, but that doesn't work.}

Thus, I went next to a file// and it kinda works.

If I put in this command below it show the pdf fine.

[color:red]file:///C:/Documents%20and%20Settings/Owner/My%20Documents/File_Maker_Pro_Databases/test.pdf

The problem of course is this would show for each and every record and be incorrect.

What I need is the field name to be put into the above calculation.

[color:red]{file:///C:/Documents%20and%20Settings/Owner/My%20Documents/File_Maker_Pro_Databases/}

So, if I keep the above part that will alway be the location. :)

[color:red]Now how would I add the field name contents of the container to the end. eg. Dealers::pdf file :bang:

I am sure this will work, but my format is not right.

"file:///C:/Documents%20and%20Settings/Owner/My%20Documents/File_Maker_Pro_Databases/"Dealers::pdf""

But of course the above doesn't work.

[color:red]Any help on attaching the container field contents to the end of the above file:/// command

Edited by Guest

... It has to be external to filemaker i.e. an actual pdf that's not in a container field but somewhere in the file structure on the OS.

And for the concatentation (not that it will fix your problem) but you would use: "file:///C:/Documents%20a nd%20Settings/Owner/My%20 Documents/File_Maker_Pro_ Databases/" & Dealers::pdf

If you want, you can export to "temp.pdf" in the same location as your DB, and just use a static reference to that e.g. "file:///C:/Documents%20a nd%20Settings/Owner/My%20 Documents/File_Maker_Pro_ Databases/temp.pdf"

  • Author

Actually Genx that seem to work. I agree with what you are saying but for some reason it is actually working correctly. So with web viewer I am calling a container field and it is showing my pdf just fine. Go figure, not sure why at the moment, but maybe it will fail as I add more records.

Hold on so it's working as:

"file:///C:/Documents%20a nd%20Settings/Owner/My%20 Documents/File_Maker_Pro_ Databases/" & Dealers::pdf

??

Where Dealers::PDF is your container field?

Are you sure you don't actually have a PDF in your File_Maker_Pro_Databases folder with the same name as the PDF your storing in the container field?

  • Author

[color:orange]Are you sure you don't actually have a PDF in your File_Maker_Pro_Databases folder with the same name as the PDF your storing in the container field?

Yes, I do have a PDF file with the same name as the container field.

Thinking about it, I probably don't even need a container field. I could make it a Text field to take up less room.

What I really want is to store the pdf file and then have a portal page display them. What I was trying to do is use web viewer, but it doesn't work within a portal.

The actual program has different clients and I want to be able to make another table to hold their faxes which are pdf. Currenlty, I have to convert the pdf to tiff. Then I can store them in the portal page and it works. The problem is it means I have to do extra work to convert the orginal pdf file to tiff.

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.