9 Replies Latest reply on May 9, 2017 7:26 AM by TSGal

    OnObjectExit script trigger works differently in WebDirect

    iamsloper

      OnObjectExit script trigger works differently in WebDirect

       

      We have a modal popover. The popover is made modal by using an OnObjectExit script trigger. The OnObjectExit trigger script ends with an exit script step with a variable set to 0 unless we explicitly set it to 1 first.

       

       

      In FMP 14 & 15 this works as expected and you can't click outside of the popover. When you click outside of the popover on scripts or objects the OnObjectExit trigger fires. The exit script step 0 throws error 20 and leaves the popover open. The script clicked outside of the popover does not run.

       

       

      On WebDirect, with our popover open, we click on a button outside of the popover. The OnObjectExit script trigger on the popover fires but the exit script 0 doesn’t work. The button script outside of the popover runs.   The button script will show dialogs or set fields but if it tries to navigate records or layouts it throws error 20 and continues with the script.

       

      This seems broken to me. I would expect the exit script (0) to work and the button script outside of the popover not to run.