The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Configure Default Login page

Kri
Tera Guru

Hi Team,
I created a Custom Login page 'sp1' and I want to make this page as my default login page while entering into the ServiceNow URL. For example if we enter navpage.do or login.do it should redirect to the 'sp1' login page.

Can you please help me how to customize for it?

Krishna124_0-1679999933330.png

 

6 REPLIES 6

pavithra
Tera Contributor

Hi @Kri ,

go to ALL>Service Portal>Portals 

1. select the portal in which you want to display it (i.e., if you want it for service portal then select service portal).

2. in login page field, select the page you have created (i.e.,sp1).

3. then click 'update'.

 

If my solution helped you, Please accept & mark it  helpful.

 

Thanks & Regards,

Pavithra Srikakarlapudi.

This solution doesn't work to my question, Please check my question again

Mehta
Kilo Sage
Kilo Sage

You have to make changes on the a script include "SPEntryPage". This script include has different functions which redirects an user to  different urls. 

"getLoginURL"  is the function where you have make changes to redirect to your custom portal. 

 

Kri
Tera Guru

Can you help me the line where I need to configure the code?