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.

How to copy images of rich label text variables of a catalog item to another environment?

Tomi Corigliano
Kilo Sage

Hi,

 

When I promoted my catalog item to another environment. I noticed that the images were not displayed.

After doing some research I created another update set and did a force update set on the correct images of table sys_attachment by looking up the sys id in the source field of the rich label text variable.

Nevertheless, that didn't solve the problem. When I check the sys_attachment table of the destination environment I can see the images, but when I open (download) them I get the following message:

 

TomiCorigliano_0-1687343585328.png

 

How can I promote my images?

 

Thanks in advance for your help

1 ACCEPTED SOLUTION

Ahmmed Ali
Giga Sage
Giga Sage

Hello @Tomi Corigliano 

 

Attachments are stored in ServiceNow in different chunks. It is difficult to add those all records in update set.

 

one way is to add the image/s in images table (db_image), it will capture in update set. Then update your variable to refer those image/s and move the update set to target environment.

 

Thank you,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

View solution in original post

5 REPLIES 5

Tomi Corigliano
Kilo Sage

That did the trick, thank you very much