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.

Using Webviewer with pdf files stored on a server

Featured Replies

  • 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!

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

file:NETWORKPATHYourPDF.pdf

  • 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!

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

In addition, he's using back-slashes which should only work in UNC paths. URLs should be using forward-slashes.

  • 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

Create an account or sign in to comment

Important Information

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

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.