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.

Exit Application not working without Close Window

Featured Replies

I have a webdirect app which is working OK, but my script to exit doesn't seem to be working, e.g.

 

ExitApplication

 

does nothing, whereas

 

CloseWindow

ExitApplication

 

actually bumps the user back to the filemaker web direct database list home page.

 

Anyone else seeing this?

The FileMaker command Exit Application will have no effect on the application you're actually using to view the database, which is a web browser. There really isn't such a thing as a Web Direct database. You activate or allow Web Direct access in FMS.

  • Author

I'm sorry, you seem to have totally misunderstood my question - this is a question about WebDirect behavior in the web browser, and under what circumstances the browser will or will not navigate to the Database Home Page:

 

Per the WebDirewct Guide page 18:

 

If you use the Exit Application script step or close the last virtual window with the Close Window script step, the script ends the user’s session and takes the user back to the Database Homepage. 

 

https://fmhelp.filemaker.com/docs/13/en/fm13_webdirect_guide.pdf

 

What I'm saying is that in my case, it doesn't work unless I use both commands.

I suppose I did misunderstand but it wasn't clear to me if you wanted the user directed back to the Database Home Page or not.

  • Author

Yes, thank you.   I'm trying to figure out what I'm doing that's odd:  I'm pretty sure that I'm not opening any additional windows, but I am use ReLogin() at one point  - I wonder if that could be related?

I guess it would depend on when you use it, no? Hard to say.

  • 2 months later...

I run into the same problem. I am upgrading an FM11 solution to FM13. Part of the FM11 solution is an iwp module for time registration. In this module I have a script for the user to log off which uses Exit application. This no longer works in Webdirect. I also found that I need to use Close Window to be able to exit Webdirect.

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.