- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2017 07:36 PM
Hi Team,
I am trying to render an image dynamically on ServiceNow HTML field.
To accomplish this, I set up HTML field value to:
<div> <img src="my_image_url"> </div>
However, I get the following result:
As you can see I get html text instead of rendered image.
Is there any additional configuration I need to do?
Thank you,
Regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2017 02:44 PM
I actually ended up contacting HI support. I would like to share with the community in case they face the same issue:
Issue happens when "Field type changed on a field (storage alias ) after creation of field as an update does not cascade change in TYPE to the DB".
Example Field Type was String , Max Length = 255 at the time creation later modified to HTML or String , 4000 at the dictionary level , but in the DB it still shows varchar ( 255 ) .
To fix this issue you can either re create the field on affected instance or ask DBA to change field type.
Hope you find it useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2017 02:44 PM
I actually ended up contacting HI support. I would like to share with the community in case they face the same issue:
Issue happens when "Field type changed on a field (storage alias ) after creation of field as an update does not cascade change in TYPE to the DB".
Example Field Type was String , Max Length = 255 at the time creation later modified to HTML or String , 4000 at the dictionary level , but in the DB it still shows varchar ( 255 ) .
To fix this issue you can either re create the field on affected instance or ask DBA to change field type.
Hope you find it useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2017 12:37 AM
Hii, you need to first upload the image in the image database and then retrieve it in the image field of the form.
Arun