isMobile is working for Mobile UI only not for Mobile app.

Pratyush Mandal
Mega Expert

isMobile is working for Mobile UI only not for Mobile app.

Is there is anything for Mobile app so that system should understand the person login through app.

I have written ACL on incident table for Create operation, "New" button will be available when person login in desktop not from mobile app but still button available in Mobile app view also, seems isMobile is not detecting mobile app login.

1 ACCEPTED SOLUTION

Pratyush Mandal
Mega Expert

This is the issue with Mobile app. isMobile is always returning false. ServiceNow support team created PRB691470 for this.


View solution in original post

14 REPLIES 14

Yes it is working for Mobile UI i.e. $m.do but not for Mobile App. SO anything related to mobile app?


The results you see on the screen are from the iOS mobile app. Not sure what more I can tell you. If you do the same test case with a business rule and get different results, I would reach out to customer support.


Any thoughts as to if this should be available to a reference qualifier?


Can you provide more detail on how you are implementing that reference qualifier? Is it an advanced ref qual using a script include function? A simple reference qualifier using the condition field? Please, tell me more.


Yes. It's an advanced reference qualifier using a script include. I know it's funny, but I need to know within my script include whether or not I'm dealing with the mobile interface. It really has to do with the fact that treeviews aren't supported on the mobile interface.