AnsweredAssumed Answered

Script triggers not tripped when layout is deleted

Question asked by Dillik on Sep 8, 2014
Latest reply on Sep 9, 2014 by TSGal


Script triggers not tripped when layout is deleted


FileMaker Pro



Operating system version

OS X 10.7.5

Description of the issue

When the current layout is deleted by another user or in another window, a layout switch is performed without activating the appropriate script triggers for a layout switch.

Steps to reproduce the problem

In layout #1 of a database, set up the OnLayoutEnter and OnRecordLoad script triggers to perform something obvious (such as custom dialogs saying "OnLayoutEnter triggered" and "OnRecordLoad triggered," respectively). Go to another layout (say layout #2) and switch back to layout #1. Both OnLayoutEnter and OnRecordLoad should trigger (this is expected).

Now go back to layout #2 and leave this window in Browse Mode. In a second window, enter Layout Mode and delete layout #2 (while the first window is still viewing it). When layout #2 is deleted, the first window will be kicked back to layout #1, but no script triggers will activate.

Expected result

When the deletion of layout #2 forces the first window to layout #1, OnLayoutEnter and OnRecordLoad should both be triggered as if the user had switched to layout #1 in a more mundane fashion.