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.

Service Catalog Items device availability and categories

balu3
Kilo Guru

Hi,

I have 3 questions, whose functionality I couldn't figure out.

1) There is an option to select the availability for a catalog item whether it'll be available for desktop / mobile / both. If I select mobile only, then it does not appear in the desktop browsers.

Internally how is this done? I mean I cannot see any scripts related to this.

2) If I make all the catalog items of a category as mobile only, then the category itself will disappear in desktop browser view (in self service portal view). I think I'm not able to find the code where it's written that an empty category should not be displayed. Also how is the category decided empty when there can be items in mobile view (must be related to the first question).

3) How can I test mobile / tablet view? using $m.do opens the mobile view, but the self service and two other options are opening as the same in desktop view. I tries changing user agent of the browser to Android 4.4, but strangely I wasn't able to find any difference.

Please assist.

Thanks in advance.

5 REPLIES 5

balu3
Kilo Guru

The answer to the first 2 questions seems to be complex, and needs some additional analysis.