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.

Hiding Catalog Item pictures in Service Portal on mobile browsers

Robin Hearne
Tera Expert

Is it possible to easily hide the picture from a Catalog Item in Service Portal when the portal is viewed on a mobile browser?  I tried setting 'Mobile picture type' to 'None' but it hasn't had any affect.

Regards,

Robin

1 ACCEPTED SOLUTION

Gurpreet07
Mega Sage

This is for servicenow mobile app and will not make any difference for Service Portal. You have to modify related widget to achieve this.

find_real_file.png

View solution in original post

6 REPLIES 6

find_real_file.png

 

I want to remove this from thre Now mobile app is there any way??

I've found a property which sets this image glide.sc.placeholder.image

I need to remove it, the broken image or any image, so i can just see list of items or categories.

Is there any way we can do this?

 

Thanks,

Laukik.

To hide placeholder images in the Now mobile, I got it to work using Matt's response in this community thread

 

To hide the picture You need to create a new Item View [sys_sg_item_view] and then you would switch the view used on the Master Item [sys_sg_master_item].

Lets take Popular Item Master Item, it uses the Item View of Catalog Recent and Popular Item View. These views are read-only, so you will need to create a new Item View. It uses JSON to show the image, when creating the new view, copy the Item View JSON, but omit the following code from the JSON:

{"Type":"Image","CellId":"picture","Height":72,"Width":72,"Scaling":"Fit","Id":42257},