AnsweredAssumed Answered

Exit Application does not execute in a WebDirect session when there is an OnLastWindowClose script...

Question asked by Charlie Bailey on Aug 25, 2014
Latest reply on Aug 26, 2014 by Charlie Bailey

Summary

Exit Application does not execute in a WebDirect session when there is an OnLastWindowClose script configured.

Product

FileMaker Server

Version

13.0v4

Operating system version

OSX 10.9

Description of the issue

The Exit Application script step or button action fails to execute if there is an OnLastWindowClose script step configured.

Steps to reproduce the problem

Host a filemaker file with FileMaker Server 13 and configure it for access via WebDirect. Create an empty script (no script steps) and configure this script to run "OnLastWindowClose". Create a single layout and place a button on the layout and configure that button to run the "Exit Application" action.

Connect to this file via WebDirect and click the button.

Expected result

User should be logged out and redirected to the WebDirect "Select A Database" page.

Actual result

Nothing happens.

Exact text of any error message(s) that appear

Configuration information

Test file available on request.

Workaround

Disable the OnLastWindowClose script trigger or use "Close Window" instead!

Outcomes