- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2014 11:49 PM
I have a user_image type field in incident form, i want to get the value of this field basically the photo which is uploaded and onclick of ui action link ui page pops up to show this photo. Please suggest how can i get the value of this user_image field.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2014 02:45 AM
Sorry for confusion. I missed single quote in Id name.
var id = document.getElementById('image.sys_user.photo').value;
window.location = 'https....instance_name.service-now.com/sys_attachment.do?sys_id='+id;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2014 02:45 AM
Yes i did.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2014 02:45 AM
Sorry for confusion. I missed single quote in Id name.
var id = document.getElementById('image.sys_user.photo').value;
window.location = 'https....instance_name.service-now.com/sys_attachment.do?sys_id='+id;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2014 02:41 AM
Hi Bhavesh,
Thanks i got it, i Just passed the sys_id from the UI action and after retrieving the value in UI page i used .getDisplayValue to the variable and it worked fine.