- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 11:09 PM
Hi Community,
I just want to ask about the redirection on service portal. We have some service portals setup and HR is setup as the default. When user tries to login to the exact link of the service portal [not the default HR], it will ask to authenticate, then after authentication instead of going to the exact service portal link, it will direct the user to the HR service portal.
For example, I will login to service-now.com/portalA, instead of going there directly it goes to the default service portal setup which is service-now.com/HR. Is this a normal behavior as HR being setup as default or should it go to the exact link specified when you try to login which in my case is service-now.com/portalA?
Any advice? Thanks in advance.
Regards,
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 11:30 PM
Hi,
This is expected and behaving correctly as per design. In order to understand this how this is controlled you need to look at the below Script Include where this might be set as a Default Portal as shown below:
1) Script Include : SPEntryPage
Link of Script Include:
https://instance.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=3647c37253221200b0b0547cedc587fd
Replace "instance' with your instance name.
Also to note there are two System Property which controls the default redirection to the default portal i.e. listed below:
1) glide.entry.page.script
2) glide.entry.first.page.script
You can read about these property in detail in below link:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0746730
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 11:19 PM
Please mark the answer as helpful and correct.
Best Regards,
Rajat Choudhary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 11:30 PM
Hi,
This is expected and behaving correctly as per design. In order to understand this how this is controlled you need to look at the below Script Include where this might be set as a Default Portal as shown below:
1) Script Include : SPEntryPage
Link of Script Include:
https://instance.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=3647c37253221200b0b0547cedc587fd
Replace "instance' with your instance name.
Also to note there are two System Property which controls the default redirection to the default portal i.e. listed below:
1) glide.entry.page.script
2) glide.entry.first.page.script
You can read about these property in detail in below link:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0746730
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2022 03:28 AM
Hi @shloke04
Just a follow up question. Since it is the expected behavior that there is a SPEntryPage, is it possible to customize it? Something that if for example rather than having a default Service Portal setup, it is like when I use the URL for example https://service-now.com/portalA, it will go to portalA instead of the default HR service portal? Is this achievable? Do you have any idea how can that be achieved?
Regards,
Ramel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2022 04:32 AM
Yes, you can achieve that. You need to look at this function in the same script include named as"getFirstPageURL" as shown below:
You need to play round here to get it working.
Regards,
Shloke
Regards,
Shloke