- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
I would like to add a button or a hyperlink in the classic Requested Item (RITM) form that redirects to another link within the instance.
Is it possible to do this only for a specific catalog item (i.e., only for its related Requested Items), without impacting other catalog items and without cloning the Requested Item widget? Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Med99
To add a clickable hyperlink to a Service Now RITM work note, wrap the HTML anchor tag (<a href="...">...</a>) inside [code] tags within your script
e.g You can add below snippet of code to the existing BR which is creating RITM to include the hyperlink in the activity stream :
current.work_notes = 'RITM [code]<a href="'+gs.getProperty('glide.servlet.uri')+'nav_to.do?uri=sc_req_item.do?sys_id='+sysID+'" target="_blank">RITM number</a>[/code] has been updated.';
Ref:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
so it's on ticket page.
then you can add that link in comments field as that is exposed on ticket page for end user
where are you stuck?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Med99
To add a clickable hyperlink to a Service Now RITM work note, wrap the HTML anchor tag (<a href="...">...</a>) inside [code] tags within your script
e.g You can add below snippet of code to the existing BR which is creating RITM to include the hyperlink in the activity stream :
current.work_notes = 'RITM [code]<a href="'+gs.getProperty('glide.servlet.uri')+'nav_to.do?uri=sc_req_item.do?sys_id='+sysID+'" target="_blank">RITM number</a>[/code] has been updated.';
Ref:
