- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 01:06 AM
Hi All,
Can we add an image on a catalog item form? I tried it using the HTMLtags like <img src='name.jpgx'></img> but it was not displayed on the Service Portal.
How can we add an image in the catalog variables so that it is displayed on the default view and Service Portal
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 01:10 AM
Hi
For that,
create a macro type of variable, in that you will see widget and ui macro reference fields, in the widget write the code of <img src> which will show an image on portal and add ui macro with the same code it will show on desktop view.
Desktop View Result -
Portal View -
Hope this helps.
Regards
Omkar Mone

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 01:09 AM
Hi,
as mentioned in this thread,
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.
For this to work, you need to set the property "glide.ui.escape_text" to "false".
Please check this system property value.
If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
Thank you
Cheers
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 01:11 AM
Hi Alberto,
I have set the property "glide.ui.escape_text" to "false". But the image is not displayed in the Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 01:30 AM
Are you sure your image you're using in the HMTL tag is present in System UI > Images?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 03:48 AM
Yes. The image is present in System UI > Images. It is displayed in Service Catalog in default view but it is not displayed when I am using Service Portal.