Showing Users a proper Maintenance Mode Message

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

Showing Users a proper Maintenance Mode Message

Postby Bernd.N » Fri Sep 09, 2016 6:39 pm

When we put Servoy into maintenance mode, most users think the system is not working, as the message they get does not tell this clear enough.
That resulted in a flood of user emails to our first level help desk.

We now solved this by using our own maintenance mode that we set inside our solution with an integer flag in a table.
Gary coded a function so that the login solution gets that information via a security.authenticate()-call, because normally the login solution has no access to data.

Then we set the login fields (User Name/Password) in the login screen to invisible and show a proper maintenance message.
In order to still be able to login as admin, it would be possible to install a secret backdoor, like a key combination.

The result is the same as the Servoy maintenance mode, i.e. users can not get into the main solution so that we can perform updates.

maintenance message.png
maintenance message.png (114.29 KiB) Viewed 2020 times
Bernd Korthaus
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Posts: 543
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Return to How To

Who is online

Users browsing this forum: No registered users and 4 guests