- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 03:43 AM
Hi All,
In Service Portal our requirement is when user clicks on link one image should get open in another window,for e.g
" Click here to Open image" , so if user will click on here,an image should get open in another tab.
(FYI image i have already uploaded in service now image table)
Let me know if anyone has any idea on this.
Thanks,
Apoorva
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 03:57 AM
okay
You can find your file name in db_image table .Copy that and paste it in HREF
<a href="0214ADAF-1C76-4E34-966F-0EBD09534402.png" target="_blank">test</a>
if it helped please close the thread by marking the answer correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 03:49 AM
hello
you must have wrote HREF using <a> tag for it right in portal HTML code?
example :
<a href="your link">here</a>
in this line just add on attribute like below highlighted which will open. your image in new window
<a href="your link" target="_blank">here</a>
please mark my answer correct if it helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 03:54 AM
Hi Mohith,
Thanks for your quick response,
My query here is that what link i should give in HREF tag? (how can i find img link)
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 03:57 AM
okay
You can find your file name in db_image table .Copy that and paste it in HREF
<a href="0214ADAF-1C76-4E34-966F-0EBD09534402.png" target="_blank">test</a>
if it helped please close the thread by marking the answer correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 04:02 AM
It worked for me,
Thank you Mohith