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.

Open URL - Instant Web Publishing using file URL

Featured Replies

  • Newbies

Hi All,

We are trying to make a FileMaker database with a web page UI that allows our users to click on a button to open a word document stored on the same server that hosts the FileMaker database. We are using FileMaker Developer 7 and publishing it using the Instant Web Publishing feature.

We made a button and in the "Specify Button" dialog, checked "Indicate Web Compatibility", saw that "Send Event" is not available and selected "Miscellaneous | Open URL". Under "Options" we selected "Perform without dialog" and clicked "Specify", entering the following (including the quotes):

"file://C:/Documents and Settings/admin/My Documents/FMVersion7/ACE01.doc"

We published this and clicked the button... all we get is a JavaScript error "Access Denied"! We have enabled active scripting, we have enabled popups - so those are not the issue. The file has appropriate permissions set to allow anybody to view it.

The following works though:

"http://admin-laptop/fmi/iwp/res/ACE01.doc"

This works if we copy the document into FileMaker Pro's own directory structure:

C:Program FilesFileMakerFileMaker Developer 7ExtensionsWeb SupportResourcesiwpresACE01.doc

Of course, this is unsuitable since we want to keep the file in our own controlled area.

Any ideas on how we could get file url working correctly would be greatly appreciated!

Rob

:

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.