- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 03:49 AM
Hi guys,
I want to display an image that i have stored in SN database i.e., System UI > images.So help me out to use that image in my form layout.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 04:35 AM
You would need to create a UI macro and formatter for the table.
Suppose you need to display an image on incident form.
Creating a Formatter - ServiceNow Wiki
1. Create a new UI macro 'Example' and put some html there to keep the image in it. somewhat like <img src = 'abc.png'/>
2. Go To Formatters and create a new Formatter
Name - Incident Image Formatter - Example.xml
Table - Incident
3. Go to formlayout for Incident form and drag the "Incident Image" from avaiilable to selected bucket.
I hope it clears.
Thanks
Deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2023 03:30 AM
hi deepak,
Did you find the way of adding dependency for formatter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2016 03:02 AM
Is there anyway to make a formatter visible on list view?