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.

Custom Error Page

Featured Replies

Hi folks - is it possible to return a custom error page to a users browser rather than the default FM error if the user attempts to connect to a web enabled database that isn't open?

Currently, a (javascript controlled?) error message "Unable to process your request because the database "********" is not open." is returned - I would like to display a customised html page.

I'm using : FileMaker Pro Unlimited version 6 running on a Powermac G4, Mac OS X.

Thanks

Girish..

  • Newbies

hello

If you are using CDML, as opposed to Instant web publishing, you should be able to spec an error page with the -error=error.htm tag, where "error.htm" is your custom error page.

hih,

steve

FMP 6 also includes the -ErrNum (error number) CDML tag that lets you specify an error file for a specific error code. Since multiple -ErrNum tags can be used, it appears you can specify a particular error page for each error if you so wish.

I haven't used it myself yet.

  • Author

Thanks Steve/Vaughan for these suggestions. I have implemented custom error pages using CDML before, and have also used the [FMP-CurrentError] tag to return specific error messages (I hadn't tried the -ErrNum tag before but have just given it a go as well).

Unfortunately, the error returned when a database isn't open does not seem to have a number associated with it and so I can't think of a way to use these two tags when this error is returned(?)

Error 100 is "file is missing" I'd start with that. Trap for it in the -error file.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.