Notifications

68 views

Description

When copying over a catalog item record, the picture or item icon used can not be updated or deleted.

Steps to Reproduce

 

1. Open any catalog item, for example 'Apple iPad 3'.
2. Upload a new image for the item icon or picture.
3. Save the catalog item.
4. Click on the copy button on the catalog item form.

Inspect the newly copied item and notice the picture is not editable. The attachment record associated to the new catalog item does not have the correctly linked sys_ID, it still references the old catalog item.

Workaround

This problem is under review and targeted to be fixed in a future release. You can Subscribe to this article to receive notifications when more information will become available.

The workaround is to use either one of the following methods to clear the field:


- Export the XML, Clear the image or picture field in the XML, and import it back.


- Run the background script below to clear the image/picture field:

var gr = new GlideRecord('sc_cat_item');
gr.get('<sys ID of the catalog item>');
gr.picture = '';
gr.icon='';
gr.update();


Related Problem: PRB1316118

Seen In

There is no data to report.

Intended Fix Version

New York

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:44:12
Published:2019-04-18