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.

Unable to delete picture from Catalog Item

Carlos Chaluisa
Kilo Contributor

I created a significant number of Catalog Items by copying from one to another (Insert & Stay)  The Item I used as a source, had a Picture which was of course copied to each item.  I find now that I can delete that picture and replace it.  Have anyone experienced that?

find_real_file.png

 

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage

try running background script and see if it removes the image.

var gr = new GlideRecord('sc_cat_item');

gr.get('your cat item sys id');

gr.picture = '';

gr.update();

View solution in original post

8 REPLIES 8

Mike Patel
Tera Sage

try running background script and see if it removes the image.

var gr = new GlideRecord('sc_cat_item');

gr.get('your cat item sys id');

gr.picture = '';

gr.update();

Hi,

Can you pls guide me on how to run the background script which is mentioned above. 

 

I am also facing the same issue.

 

regards,

Raghesh

This worked for me as well. Any idea why we have to run a script just to make the icon & picture fields available to add a different pic??

 

Most likely there is no delete ACL for picture field. You can create it like below and see if that's the case.

find_real_file.png