- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017 11:05 AM
The challenge - I need to be able to present different related lists on the incident and sc_req_item tables to users on mobile devices based on whether or not they have the itil role.
Issue 1 - Hi support tells me there is a PRB, PRB676249, stating View Rules do not work on mobile in Helsinki. I'm on Helsinki 11a.
Issue 2 - We can't use showRelatedList or hideRelatedList.
Has anyone figured out a way to do this or even have any thoughts on things to try?
Thanks in advance,
Jon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2017 11:30 AM
There is not method on the mobile at this time to display one related list to one set of users, i.e. ITIL, and another to non-ITIL. I initially just removed all related lists from the RITM summary screen, but then decided to leave some as they are really useful for ITIL. This works well as long as the non-itil user doesn't try to drill down into the related Catalog Tasks. We are set up so non-itil users have no ability to see any task record on the desktop; however, with what I've implemented, if the non-itil user continues to click to open the next record after opening the catalog tasks related lists, even though there is nothing listed, he/she will eventually be able to see the variable editor but not the task itself. The user could then change variables. I've not tried it to see what this does to the task, but now that I'm thinking about it I will now.
What I did?
Opened a record in each of the Incident and Request Item forms. Configure / Related List and change the view to Mobile. Only allow those you want available on Mobile. If you empty the selected column, no related lists will appear on the mobile, although the related lists row will still be there, and will say "none" or be blank depending on the UI you're in.
I forget the version, either Istanbul or Jakarta, we are supposed to be able to use view rules which will allow us to do exactly what we want. That's the answer I received to a lot of the issues I have with mobile. Kind of sad...
I'm going to mark this as the correct answer as well since it gets us as close as we can get to what we want for now. Let me know if you need more information and please mark as helpful if you find it so.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2017 05:06 AM
Hi Jon,
If we open an incident you can see the Related Lists link
If we click on it, you will be moved to a page containing all the related lists of that table.
You can open that particular related lists to see the records in it.
But I don't think you cannot view related lists in mobile similar to what you see in desktop view.
The screen shots you see above are taken by opening the mobile view in desktop
Regards,
Sowmya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2017 06:55 AM
I do see related lists on the mobile. I need to be able to present different related lists based on the role the user has. If roles = itil show this set of lists else show this set of lists.
Thank you for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2017 09:37 PM
Hi Jon,
You can write an on load client script for this. on Load of the form, check if the logged in users role is 'ITIL' then hide some related lists. Here is the link to hide related lists https://community.servicenow.com/thread/161189
If you want this to happen only in mobile view, then in the client script there is a field called Global, uncheck it and give the view name as 'mobile'.
Regards,
Sowmya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2017 10:49 AM
Hi Jon,
Did this ever work for you in Helsinki? I have same issue and requests/requested item is showing all related lists in mobile app? we are using native mobile app
Thnaks
Gayathri