How can i redirect UI page rather than going to nav_to.do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2016 11:12 AM
Hi All,
I have a UI page.
https://instance.service-now.com/test.do when i am trying to do access this URL for the first time , system is opening this page in side the https://instance.service-now.com/nav_to.do?uri=/test.do
Instead i would like to redirect the user to this page https://instance.service-now.com/test.do
how is it possible to redirect this page ? and also we are using SSO to authenticate .
Any help is appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2019 02:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2019 06:15 PM
I Nikesh, I'm not sure about the requirement of redirecting the navpage.do. The navpage.do is usually called once the user is already authenticated so I don't see the point of redirecting that page to a login page.
As for the custom login page all you need to do is set the "glide.entry.page.script" property (sys_properties.list) with your custom page. You can either call a script include if you want to add some logic or you could simply put a string of the page including the double quotes for example "custom_login.do". For an example of a entry page script you can take a look at the "getLoginURL" function in the "SPEntryPage" script include.
This UI page should be set as public (create an active record in sys_public.list with the name of the UI page without the ".do").
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 09:44 PM
Hi Sam,
Can you please tell that how you solved the above issue as I am also facing the same.
