Re-Direct Users to Portal Vs. Mobile UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2017 08:16 AM
We are in the process of enabling Okta and rolling out mobile to our user base. We have our OKTA SSO working, however we are experiencing an issue with the direct with the Mobile UI. We want the re-direct to occur as it does today via the browser. If a user logs in and has the roles (ITIL, sn_sm_finance_basic, or hr_basic) they are redirected to the Normal UI. If any other users log in, they get re-directed to the Service Portal. What is happening now as that all users are being directed to the Mobile UI instead of getting the re-direct based upon roles. I have tried adjusting the Mobile Properties and have looked at the spEntryPage script include and nothing stood out to me. Any thoughts?
- Labels:
-
Now Mobile
-
User Experience and Design
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2017 09:47 AM
Hi Austin,
In base system this functionality is not supported, so you will not be able to redirect in mobile UI.
1. Here is one option you can try:
Disable mobile UI for browser setting the sys_property 'glide.ui.m_enabled' to false, or by navigating to System Properties->Mobile UI Properties and disabling the Mobile UI there.
This will turn off mobile UI in browser and turn on desktop UI and you can be able to redirect to service portal.
2. I also found this discussion, you can try this UI script:
https://community.servicenow.com/thread/232644
Thanks
Shruti
If the reply was informational, please like, mark as helpful or mark as correct!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2017 11:22 AM
Hi shruti, I think this has been addressed in the script include "DetermineMobileDevice" I just want to be able to check if a user is coming in on a mobile device and has one of those roles, if so re-direct to Mobile ui, if not send them to the portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2018 11:38 PM
Hi All,
I believe I've hit this limitation myself. I have a situation where I want a user accessing the instance from a mobile device to be interrogated by the "SPEntryPage" script include (which I've modified) to determine whether they should be directed to Service Portal or Native UI.
In addition, If that test has returned the Native UI, I want that to be replaced with the Mobile UI instead.
In reality, this won't work because I understand the order is the other way round - that DetermineMobileDevice runs before the session is established so I don't have a chance to interrupt the process of applying $m.do to whatever is subsequently returned.
I also can't use a modified version of DetermineMobileDevice to do the same interrogation of the user's session because they haven't yet been logged in, so I can't query the user's session.
I *could* turn off the Mobile UI, in which case my redirects will work again, however now I'm stuck with my fulfillers being directed to the full UI which doesn't work well on Mobile.
I'm feeling a bit stuck here....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2019 09:44 AM
did u solve the issue?