Always force users to their portals?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2019 09:01 AM
Is there an option to always force users to their portal?
For example, if a user with the snc_external role tries to use the "instance.service-now.com/sn_customerservice_case_list.do" to bypass the portal, it will still be redirected to the portal. It must be possible, when I try to access any page on https://community.servicenow.com (this community) such as the list of sn_customer_communities_user, I'm redirected to the community portal.
- Labels:
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2019 09:10 AM
Hi,
Please follow guidance from this thread: https://community.servicenow.com/community?id=community_blog&sys_id=cbcda2e9dbd0dbc01dcaf3231f961949
Please mark reply as Helpful/Correct, thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 12:59 AM
Thanks Allen,
I did modified the SPEntryPage script include, it worked for the part where as a user I try to leave the portal like enter "instance.service-now.com" (remove csm) but if I try to access instance.service-now.com/sn_customerservice_case_list.do, I still go to the list.
ServiceNow Hi told me to create a UI Script (that's the old way), so I did but still the behavior is different than on the community.
On my instance, if I try to go to a list, I display the list first, then the UI script kicks in and I'm redirected to the portal.
On the community, if I try to go to a list, I never even leave the community portal.
So I guess I'll have to live with that for the moment 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 05:36 AM
Yea, there's a combination of things that need to be done. Like for me...I've set it to where if you aren't ITIL or a specific role, you can keep removing /sp from the URL all day and you will never get to the back-end.
I'm trying to look back through what I set up years ago, but I knew I followed that link which is why I referenced it.
Try also looking at this property: glide.entry.loggedin.page_ess and set it to your portal value, which mine is: /sp
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2024 09:52 AM
Hi @Allen Andreas Where did you set this up --> "I've set it to where if you aren't ITIL or a specific role, you can keep removing /sp from the URL all day and you will never get to the back-end."
I need to do the same. I followed the link and I've setup the SPEntryPage and the system properties. But where do I make it so that if you remove /sp it will just redirect you back to /sp unless you have roles like itil? Did you create a separate script include or did you put that direclty in the SPEntryPage?