Add Image with Catalog Item Field

firemoon
Mega Expert

Hi,

I want to add image next to the label with tool tip in Catalog item.

Please help me the script/setup to fix this.

find_real_file.png

Regards,

RK

2 REPLIES 2

Chuck Tomasi
Tera Patron

Hi RK,



The catalog format is pretty standardized to keep users from getting confused. There is no image variable type, but you may be able to define an HTML variable and insert an img tag to your image you wish to insert.



Service Catalog Variables - ServiceNow Wiki


sudharsanv36
Kilo Guru

Hi Ravi,



As Chuck mentioned, there is no OOB variable type for "Image". However you can enable "Help text" for that variable using configuration changes.


Within the help text you can use html tags, like <img src='dte.jpgx'></img>. If that will suit your requirement you can go with that.


Let me know if you need anymore information.



For this to work, you need to set the property "glide.ui.escape_text" to "false".


community snip.PNG



Please mark this answer helpful/correct, if it solved your requirement/doubts.