- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 03:46 AM
I want to display images attached in sys_attachment list to catalog view form.I did it by writing html in variable field.But I want to display it using script.
this is my html code:
<p> </p>
<p> </p>
<p><img style="border: 1px solid black; align: baseline;" src="sys_attachment.do?sys_id=2acf5c20eb2131001c13abf11206fe5e" width="200" height="200" align="baseline" border="1" /></p
If anyone write an script for this will highly aprreciated.
Regards
Gautam Kumar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 09:15 AM
Hi @gautam7424 ,
what do mean by script???
the other way could be having a custom type variable and add a widget in the type specification section , include your db image as source.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 09:15 AM
Hi @gautam7424 ,
what do mean by script???
the other way could be having a custom type variable and add a widget in the type specification section , include your db image as source.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2023 08:48 AM
I mean any server side script or client script to achieve the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2025 08:13 AM
Call like this :
<img src="https://dev200253.service-now.com/sys_attachment.do?sys_id={{row.imgName}}" alt=""/>
