- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 07:21 AM
Hi !
I need your help. When i'm connecting to my instance https://dev48627.service-now.com/ for loggin I want to be redirect automatically to this logging page = https://dev48627.service-now.com/sp/?id=landing
How could I do that please?
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 08:32 AM
Ahh! Sorry, I misunderstood.
In that case change the system property: glide.entry.page.script
The value is probably: new CMSEntryPage().getEntryPage()
Change it to: new SPEntryPage().getLoginURL()
That should do it! Please mark my answer as correct if so.
Thanks,
Josh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 07:39 AM
Hi John,
You need to edit this script include:SPEntryPage.
change this line to whatever the url suffix is for your portal if necessary (it's line 22 for me)
this.portal = "/sp/";
And then the function getFirstPageURL() in the script include to set the conditions for who should be redirected to the portal
Here's some documentation: https://docs.servicenow.com/bundle/helsinki-servicenow-platform/page/build/service-portal/concept/c_...
Let me know if you need more help! 🙂
Josh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 07:52 AM
Hello,
thanks for you're answer
It's the redirection after login not before. For login i want to be redirect to this page https://dev48627.service-now.com/sp/?id=landing

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 08:32 AM
Ahh! Sorry, I misunderstood.
In that case change the system property: glide.entry.page.script
The value is probably: new CMSEntryPage().getEntryPage()
Change it to: new SPEntryPage().getLoginURL()
That should do it! Please mark my answer as correct if so.
Thanks,
Josh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 09:31 AM
Thank you, i have tried before but I made mistake. now it's working fine. Thanks