How to change Mobile UI/ APP Profile View?

Vespertinus
Tera Expert

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

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

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


View solution in original post

10 REPLIES 10

Ok, so it is possible to force another View in Mobile UI in the Application Menu Items. That would be sufficient for us.


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!


Thanks for your help. I will give it a try. With View Rule we could solve basic requirement.



Best regards


Vesp


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.



Create a view rule


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,