How to determine if the Service-Now Mobile App is being used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2016 02:14 AM
Good Morning,
We have started to move our Service Catalog to the Mobile Platform (just in time for Christmas)
We have an online "Report a Problem" form which is our first victim but what I am trying to figure out is how to determine (if possible) whether it is being accessed via the Service-Now Mobile App or via an Internet Browser, the reason I ask is because we want to only show certain fields depending on which platform is being used?
The only other option I can think of is to create a separate form and have one enabled for each but maintaining two separate forms for the same purpose I think is bad practice.
Any ideas would be most welcome,
Ashley

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2016 05:51 AM
Hi Ashley,
This may help. There is a Server side call you can use to determine the device type:
GlideMobileExtensions.getDeviceType()
returns 'mobile or doctype (desktop)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2016 06:15 AM
If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
If you are viewing this from the community inbox you will not see the correct answer button. If so, please review How to Mark Answers Correct From Inbox View.
Thank you