OnLayoutLoad Does Not seem to operate as expected
I have a Main Menu layout that I always want the user to be in Browse Mode in when they go to that menu.
I have buttons on the other screen layouts that take the user back to the Main Menu and those buttons all execute a script that makes sure the users are in Browse Mode. This seems to work all the time.
However, I also allow the users to Pick the Main Menu from the Layout Menu in the upper left of the screen. If they were in Find Mode when they pick the Main Menu, they end up in the Main Menu in Find Mode.
I tried setting up a script to Enter Browse Mode whenever the Main Menu is loaded, and I set the Layout Load Script to run using the OnLayoutLoad script. But that script does not execute when they pick the Main Menu from the Layout Menu.
What am I doing wrong here?