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

Opening PDF with a button in Web Companion

Featured Replies

  • Newbies

Hello All,

I am rather new to filemaker 6, and I am trying to use web companion to publish a simple database. The problem I am having is that every record is associated with an PDF file, and I would like a button to open that file in a browser. My question is

1. Where should the PDF files be kept? I have tried putting them in the web directory, and referencing it with http://xxx.xxx.xxx.xxx/blah.pdf or http://xxx.xxx.xxx.xxx/web/blah.pdf and neither of them work from the web. The first one seems to work fine within the FM6 program tho.

2. Is there an elegant solution where i can just have a field with the name of the PDF, and then click a button to launch it (again, this must work when published with web companion), the whole time obscuring the details of the location or IP on which the PDF is located?

Any suggestions would be helpful.

Thanks !

Hi Cmdr

Create a global field for your pdf home directory (e.g. "http://xxx.xxx.xxx.xxx/web/". Then you need a field for the file name of your pdf. your path for the link will then be a formula field home_dir & file_name. Use this to link to your pdf.

This should work. If you want to see the pdf directly in the browser window, you have to put the pdfviewer plug in into the plugin folder of your web browser.

Have fun

Gerd

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.