- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 08:48 PM
Hi community members,
I want to redirect all the users who have (xyz) role and logging into our Dev instance to a specific portal (onboarding). I am able to do this when user 1st time logs in without any specific portal URL defined, after login when I remove (/onboarding) from the URL and hit enter the user is able to see the backend. (This is the issue!!!)
I do not want users to see the backend even if they modify the URL and tries to see the backend of ServiceNow. User with (xyz) role should always see the (onboarding) portal only.
Please help me achieve this functionality!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2022 07:59 AM
Well this UI script worked for my requirement. I figured it out on my own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 08:57 PM
Hi, I think you will find this is OOB via the script include SPEntryPage
/nav_to.do?uri=sys_script_include.do?sys_id=3647c37253221200b0b0547cedc587fd
Try this first, and if it does not deliver required result you can also use a UI script, but OOB should always be your first choice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2022 07:42 AM - edited 11-13-2022 07:43 AM
Hi Tony,
Thanks for your swift reply. I looked into the script include but it only redirects the user when the logs in. If user modifies the URL after logging in then he/she is able to see the backend view.
I want user to be redirected every time they try to see backend view. To be precise, user should never see backend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2022 07:59 AM
Well this UI script worked for my requirement. I figured it out on my own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 11:18 PM
Hi @Utpal Dutta , May I please know from where you are calling the UI Script?