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 Variable can hold Image in catalog item. [ Catalog item integration]

Sachin Gavhane
Giga Guru

I have catalog item integration [ scoped application ]

 

JSON response gives me base64 code for the variable, I need to decode base64 code and showcase the image for an variable in the catalog item.

 

decoding is done , an image gets attached to sys attachment table, now from there i need to show that image to variable of that respective catalog item

 

pls help

2 REPLIES 2

AshishKM
Kilo Patron
Kilo Patron

Hi @Sachin Gavhane ,

You can use rich text variable type and add that attachment using link, if attachment file name is dynamic then check if you can edit the rich text link value.

 

-Thanks,

Ashish


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

I have added the attachment to rich text variable in the catalog item, but unable to see the image when i click on "try it"

 

SachinGavhane_0-1700557578346.png