
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2016 06:26 AM
Hello community,
How to change Mobile UI (UI16) Profile View? In normal Browser UI if you click on the User Name (Top right corner) and select "Profile" then you get the "Self Service"-View displayed. In The Mobiel UI / APP Profile Button shows the "Default" View. How to change that to "Self Service"? Why is there a different view used.
Thx & best regards
Vesp
Solved! Go to Solution.
- Labels:
-
Now Mobile

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2016 06:36 AM
Mobile apps and browsers should be using the "Mobile" view. When one is not available, it reverts to the default view. Create a Mobile view for the user page and you should be fine.
http://wiki.servicenow.com/?title=View_Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2016 08:38 AM
Ok, so it is possible to force another View in Mobile UI in the Application Menu Items. That would be sufficient for us.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2016 08:42 AM
You could try using this method...
Only instead of checking gs.hasRole(), check the device type this way:
http://wiki.servicenow.com/index.php?title=Restrict_Form_Views_by_Role#gsc.tab=0
GlideMobileExtensions.getDeviceType();
It returns "doctype" if you're on a desktop and "mobile" on a mobile device (if I'm not mistaken.) Do some testing to verify that first!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2016 12:35 AM
Thanks for your help. I will give it a try. With View Rule we could solve basic requirement.
Best regards
Vesp

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 05:49 PM
Yes, you can use a view rule for this as well. In Geneva and later, there is an Advanced checkbox that lets you add script to the view rule meaning you no longer need the script I linked to earlier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 10:44 AM
Hey Chuck,
I created a view rule on mobile (and tablet for what it's worth) and it's logging, but it's not setting the actual view to something other than the default mobile view ...
Can you have more than one mobile view? and use a view rule to show them as per conditions.
Best,