Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How do you create a mobile view?

justin_ford
Giga Contributor

Many of the primary tables like Incident, Change, and Problem already have a mobile view selectable.   I cannot find a way to create a mobile view when it does not already exist.

Message was edited by: Justin Ford The view that it is pulling is not one that we had set as default or any other selectable view.

1 ACCEPTED SOLUTION

oharel
Kilo Sage

Hi Justin,


Try this:


1. Use configure -> Form Layout and create a view - call it Mobile


2. Define the field you want to appear on the form for this view


3. Save and check that the result is what you want


4. Go to System UI -> View Rules


5. Add a new rule:


Name: My mobile view


Table: <your table>


View: mobile


Device type: Mobile


You can add conditions if you want, or leave it as is.


6. Save the new rule


To check it, use your mobile or go to: https://<your instance name>.service-now.com/$m.do#



harel


View solution in original post

12 REPLIES 12

I assume you're admin...


By "it" you mean the form?


Can you find your newly created view in System UI -> Views?


And also, in your View Rules, check advance to see that you have a the option "Override user preference" checked.


I can find the new view in System UI -> Views


While advanced on our present interface does not bring up override user preferences it does appear to show as true from the list view for the new view rule i had created.   Also verified there were no other view rules regarding that table that could be overriding the newly created one.


So the view is configured.


1. Is the name of your view Mobile? (not mobile_view or something like that)


2. Are the two views - default and mobile - very similar so that you might be mistaken ?


3. How are you checking the mobile view, btw?



I re-created a mobile view from scratch for one of my applications, using the steps I sent you and it worked like a charm.


4. What's your platform version?


1. Mobile


2. There are 3 views to select from now.   The mobile view i created looks nothing like the default.   The view that appears when using mobile is not any of the views that are selectable from the standard interface.


3. /$m.do


4. Istanbul



I will attempt this on my personal developer instance and see what results I get to verify that I am doing it correctly.


I tested it on my dev Istanbul and it is working.


So yes, please test and let me know. Curious.



harel