Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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


This topic is 6573 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

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
Posted

... 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"

Posted

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.

Posted

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?

Posted

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?

Posted

[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.

This topic is 6573 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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