Mobile view issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2011 05:52 PM
Hi guys,
I have been playing around with the Mobile view and have customised some of the Mobile Applications and modules.
I noticed a few things amiss when I have personalised an incident form:
- HTML fields (that contain a WYSIWYG editor) are not rendered on iPhone.
I investigated this further using the firefox plugins firebug and user agent switcher and I could see Service-now is removing these fields from the output HTML. That is, only the heading is for HTML fields is being displayed and not that actual field.
- Mandatory fields aren't being enforced. Wondering why this is the case when I can see javascript is being sent to the Mobile view using firebug.
- Data validation (client scripts) are not being enforced. Again wondering why this is not the case when javascript is available on the phone. I also checked the client scripts and they are not specifying a view, so they should work?
These issues are preventing us from rolling our mobile view for field technicians as data can not be validated before an incident is created, eg Requestor can be blank, no means to enter a solution as this is a HTML field for us.
Any suggestions or ideas - interested to hear from others using Mobile view.
Benny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2011 07:46 AM
The "Notes and Limitations" specify that the mobile view doesn't support editing Knowledge Base articles, but I suppose that's just a specific example of the general fact that the HTML field type isn't supported.
http://wiki.service-now.com/index.php?title=Mobile_Device_ITIL_and_Service_Management_Plugin#Notes_and_Limitations
The mobile view is the one that gets output to all mobile devices, including those with stunted browsers that do not support JavaScript.
For mobile devices that support a real web browser (like the iPhone or Android devices), the standard UI (not the mobile view) is a far more functional interface. Client Scripts and UI Policy are enforced, glide_list and HTML fields work, etc. Users can switch between the two interfaces at will:
http://wiki.service-now.com/index.php?title=Mobile_Device_ITIL_and_Service_Management_Plugin#iPhone_.26_Android_Desktop_or_Mobile_UI_User_Preference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2011 06:51 PM
Yeah - I guess why we were interested in the mobile view is that it is loads faster and is more usable than the full desktop view on a smart phone device with limited screen real-estate.
I did note the mobile view included some javascript in the source of the pages, so wondering why they don't include validation and mandatory fields?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2011 04:45 PM
Does anyone know if it is possible to check if mobile view has been used to submit an incident? Then perhaps an "on Before" Business rule could provide the validation we need before creating the incident?
Any suggestions/code samples greatly appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2011 09:50 AM
You can use gs.isMobile(). See this article in the wiki:
http://wiki.service-now.com/index.php?title=Mobile_Device_ITIL_and_Service_Management_Plugin#Business_Rules