- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2020 08:29 AM
Yes Requirement is crisp. But not finding way to do it.
How to redirect all users to Service Portal when they login and then only itil or higher role users can come back to UI platform(I'll build a back link widget and put it on homepage).SSO is not yet implemented but will be done soon. so login is native oob login. Need an SSO proof solution.
Note my end users in platform have snc_internal role not totally blank as there is no license cost attached to snc_internal role and I have to run some logics in acl against the snc_internal role to allow my end user view certain details from Ui platform though link in email notification(for e.g. a readonly view of record).
Pls suggest a smart solution.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2020 06:47 PM
Hi Kirtiman,
You need to ADD system property glide.entry.first.page.script and need to modify call script include new SPEntryPage().getFirstPageURL(). You can put role based conditions inside to redirect users with sn_external roles.
Please read through below docs
Redirect to Service Portal after login
Thanks & Regards,
Sharjeel
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2020 12:18 AM
Hello Kirtiman,
I have the same requirement but my end users do not have any roles associated, i have also posted the question in community but no luck
what exactly did you modify, Please suggest me on this.
Thanks,
Prerana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2020 09:22 AM
Hi Prerana,
Create property with name glide.entry.page.script and value as below
new SPEntryPage().getLoginURL()
Clear cache with cache.do.
Your login landing page for native user login changed.
Then create a header menu with link to ITSM platform visible for only itil user and above.
Kind Regards
Kirtiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2020 01:09 AM
Thank you for your response, it works fine but when users logging in through portal login page they are redirecting to ui16(navpage.do) not the portal homepage.
Please suggest me on this, do i need to add any conditions to the script include?
Thanks,
Prerana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2020 06:35 AM
That's out of box ,log out from portal and then logon you'll see it's-redirected to portal.For endusers to be always on portal created a property with name glide.entry.loggedin.page_ess abd value as /sp or what ever is your active portal suffix.
Please mark answer as helpful/correct if it resolves your query.