We have just started customizing the landing page based on specific group of users.
Since the group users can come from two different active directory, the users find it hassle to type in the domain for the secondary ldap in the username textbox. To work around this, we are utilizing the custom logon page. We like add a checkbox to the logon page. When the checkbox is check, the username will automatically insert the domain to the prefix of the username.
I have tried updating the customlogon.js file and customlogon.css file. I could not get it to work.
Has anyone work with customlogon screen? Anyone has sample I look into?
Thanks, VinceThis message has been edited. Last edited by: FP Mod Chuck,
8.204 All Outputs All Formats
February 28, 2018, 05:02 PM
Waz
Although we are on 8.1.04, I had to do the same thing today, and found in the documentation that you need to turn it on in the security settings.
May or may not be the same for 8.2
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
March 06, 2018, 11:09 AM
Ian Dalton
Yes we have customized our logon page here at Lloyds and the trick to include the Domain name is as follows:- Write bespoke code (program logoncustom.jsp) to handle Custom Sign-in page showing Lloyds\ to save users having to type it in.
….for the record the code changed is below:- <div class="signin-custom signin-custom-username-editbox" id="SignonUserNameBoxID"> <input tabIndex="1" class="signin-custom-username-editbox-input" onkeypress="java_scriptnLogonKeyPress[event)" id="SignonUserName" value="lloyds\" onfocus="this.value = this.value;" /> </div>
_______________________ *** WebFOCUS 8.1.05M ***
March 06, 2018, 11:16 AM
Ian Dalton
Forgot to say that the file logoncustom.jsp is in:- C:\ibi\WebFOCUS81\webapps\webfocus\logon\resources\markup
_______________________ *** WebFOCUS 8.1.05M ***
March 06, 2018, 11:18 AM
Ian Dalton
And the part to be added is:- value="lloyds\" onfocus="this.value = this.value;"