A standard requirement when doing PeopleSoft maintenance is to change the normal sign in page. When the system is offline, we often like to display a maintenance page that informs users that the system will be down and prevents them from logging in. This is done easily enough by changing the
signin.html page, adding a message and removing the login form.
However, there is one more requirement that is a little tricky. Once the maintenance is complete, there are often tasks that need to be completed before handing the system back to the end users. These can be configuration changes, running batch processes or simply completing validation that everything was applied correctly and is in working order. How can the core team sign on to the system and complete these tasks, all while preventing end user access?
<div> with an
id=loginbox. I would suggest starting before the
ptLabelUserid and ending after the
<div> containing the submit button. Lastly, you need to add
hideLogin(true); to the
body onload attribute.
Keep in mind the key doesn’t have to be Ctrl+Space, it can be any key combination really.You will see in the comments of the script a link to information about other keycodes that can be used.
Updated: 10/11/2016 Instead of hard coding a
true value for your
hideLogin() parameter, why not use a Custom Property set in the Web Profile? You can create any Custom Property you would like, for example:
login.isLoginHidden and set to
true. Then reference the property in your
signin.hmtl page like this:
hideLogin("<%=login.isLoginHidden%>"). This will allow you to toggle the hide login functionality by updating the web profile and bouncing the server.