January 16, 200917 yr 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!
January 16, 200917 yr Not 100% sure on a mac, but it would be something similar to putting in the network path to the document. file:NETWORKPATHYourPDF.pdf
January 18, 200916 yr Author Newbies Thanks for the tip. Seems to work on XP based machines but not yet on OSX. Guess there must be some things missing. Thanks again!
January 18, 200916 yr I think you've got one too many slashes. Also, you need "Volumes" (like a POSIX path). This works for me: file:///Volumes/manavesh/Pictures/factory orderform.pdf or /Volumes/manavesh/Pictures/factory orderform.pdf
January 18, 200916 yr In addition, he's using back-slashes which should only work in UNC paths. URLs should be using forward-slashes.
February 10, 200916 yr 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 February 10, 200916 yr by Guest
Create an account or sign in to comment