Redirect Parameters for login.do

kungfuu72
Giga Expert

Does anyone know of any parameters that can be used in the URL for the login.do page to redirect (after successful login) to an exact record?

BASE URL: http://[instance-name].service-now.com/login.do

If it were a perfect world, adding in parameters to that URL might look like this (but I know this doesn't work):

http://[instance-name].service-now.com/login.do?uri=[table_name].do?sys_id=[sys_id of record]

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Daniel,



Please refer the below link for more info.


http://wiki.servicenow.com/?title=Navigating_by_URL


russell_miller
Kilo Guru

Hi Daniel



set the system property "glide.login.home" to something like this:



incident.do?sys_id=7025ecee6f9cd200bd0f29309d3ee499



I hope that helps



Cheers


RM


Hello Miller,



I do have similar problem. When user logs in <https://instance.service-now.com/<cmssite>/login.do, it redirects him to navpage.do and   redirected to login screen again. At this point if user enters credentials again , it shows home page. I changed glide.login.home property value to cms home page, still no luck. Can you suggest



Regards


PJ


coryseering
ServiceNow Employee
ServiceNow Employee

Hi Daniel,



If you send a user with a link like https://your-instance.service-now.com/nav_to.do?uri=incident_list.do%3Fsysparm_query%3Dactive%3Dtrue



When they click on it, they will either be taken to the Incident list, or be prompted to login. If they are prompted to login, then after the login completes, they will be directed to the incident list. This works for single records as well.



This assumes no other login rules or Installation Exits are messing around with the session. The above is typical behavior out-of-box.