← servoy magazine

[Tip] Your startup script doesn't work when going from layout to browse mode

  • Tips

by Marcel Trapman
http://www.it2be.com/

Hmmm, you created your solution with a startup script that is triggered from your solution settings. This works great at your first startup in developer or when starting a client. But what if you switch between layout and browse mode all the time. During this process that very same script is not triggered at all. Unfortunately...

The solution is quite simple: after switching you go into the 'Methods/Global methods' menu and you have all your global methods at hand. Now, by selecting your startup script that script will get executed and everything is like you expected it to be (again).