Jump to content

Using Webviewer with pdf files stored on a server


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

Recommended Posts

  • Newbies

Hi,

Am trying to set up a database that stores reports on a OSX server. The database will be shared using FMS9 and be accessed by clients using either XP or OSX. Have been trying to find ways of displaying the pdf files on the webviewer but to no avail thus far. Any thoughts to a man slowly going crazy on this subject!!

Thanks!

Link to comment
Share on other sites

Not 100% sure on a mac, but it would be something similar to putting in the network path to the document.

file:NETWORKPATHYourPDF.pdf

Link to comment
Share on other sites

  • 4 weeks later...
  • Newbies

Hi,

I am working on window platform, but something I tried might be useful for Mac as well.

I would make a folder to burn on the CD or DVD say "Files" and dump the pdf files in there. I would even put the fm file in that same folder as well.

For the path in the field for the pdf file, I would make it to take the first letter of the drive from the command "Get(Filepath)"

that would give you file:/x:/files/fmfile.fp7

and add that to Left(Get(FilePath);9) would give you file:/x:/

Where x is the dive letter.

You can just add the filename field at the end like

Left(Get(FilePath);9)&"files/"&filename

Just link the webviewer to that fullpath field and it will show you the pdf in the field.

file:/d:/files/filename.pdf

If the Cd drive is F, x will be F, just make sure the fullpath field is a calculation field and in the option of the calculation, do not store the calculation results and the calculation result should be text.

hope that help.

regards,

Sam

Edited by Guest
Link to comment
Share on other sites

This topic is 5552 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.