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.

getting web security prompt to pop up upon loading of a page

Featured Replies

  • Newbies

Hi,

I have created a search database in FM protected by the web security database. The web security prompt currently pops up when the "SEARCH" button has been clicked. I was wondering how I can change this so that

the prompt pops up upon loading of the search.html page, and not when the "SEARCH" button has been pressed.

Thanks in advance for any advice.

Andrew

The reson this is happening is probably because you are viewing the page directly from the web server. To make the server pop up the logon screen, you must make sure you are viewing the page via an "FMPro?......" link.

E.G. http://your.host.com/FMPro?-DB=YourDatabase&-Format=search.htm&-View

By doing this you are invoking the web security database. The problem with this is that if the search page is to be your initial page, filemaker won't allow you to use that URL in the web companion prefs. So instead, you have to create a redirect page or a frame page that you tell the web companion to load initially. Then it will access the URL on its own.

Hope this helps.

Charlie

Close, but no cigar.

Web Companion only authenticates (asks for password) for the -find, -findany and -finall action tags (as well as -edit, -new, -dup and -delete). Authentication is not requested for -view.

So change the link to -findany or -findall and it'll authenticate.

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.