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

Hi, @Mike Patel.  I was not able to get those links to show up by playing around with the Access Controls.  Are you 100% sure that this works?

Carlos Chaluisa
Kilo Contributor

Thanks Mike! that did the trick

Raghesh
Giga Expert

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

Use the Application Navigator to open System Definition > Scripts - Background