+1 888 881 0107

Web Direct And The Browser Back Button

September 4, 2020

WebDirect was introduced as component of FileMaker Server 13 and has evolved regularly since then.

It makes your FileMaker custom applications available in the browser and available through the Internet, Claris making sure that the user experience is as close as possible from FileMaker Pro’s.

This is very useful in corporate companies where installing a software like FileMaker Pro on desktop computers isn’t trivial.

Web Direct is a good option if you need to expose your app to external users or to build a customer portal for instance.

WebDirect requires FileMaker Server

The “back button” issue

An often heard complaint though is that users are disconnected when they click the Back button of their browser. This button is confusing because it’s very similar to FileMaker Pro’s record navigation widget, and is also located  at the window top left corner.

Our work-around

Here is our solution, freely downloadable and usable. It’s a single HTML file.

This HTML file disables the back button if a user connects to a custom app using the file URL.

Using the back button will result in a message telling the user he can’t use that button.

To install, simply download the file and place it in this directory of your FileMaker Server machine

  • On Windows : FileMaker Server\HTTPServer\conf\
  • On the mac : FileMaker Server/HTTPServer/htdocs/

Repertoire de destination du fichier html

Next edit the HTML with a simple text editor and modify the “solution” variable to indicate your FileMaker file name.

Fichier html destiné à l'ouverture de la solution en Webdirect

 

Usually, a user uses this kind of URL to connect to his custom app:

  • https://<server>/fmi/webd/<filename>

With this solution he should rather use:

  • https://<server>/<htmlfilename>.html

In our example this would be: https://1mt_server/1mt_Tasks.html

NB : If you’re using this solution with a http connection instead of https, don’t forget to edit the uri, variable in the HTML file (change httpsinto http).

Download the file here: Zip-file-icon Webdirect_wrapper

 

Do not hesitate to share this blog post!

 

This post was originally published on 1-more-thing’s blog

0 Comments

You may also like…

2 New Features For Web Publishing

php 7.4 installed by default Yes! you can now run a php web site alongside your databases and benefit from even faster...

7-day Free Hosting

Start your journey with us and discover fmcloud.fm now.