Jump to content

Open URL - Instant Web Publishing using file URL


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

Recommended Posts

  • 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

:

Link to comment
Share on other sites

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