How to Add a Custom Link on RITM Form Without Cloning the Widget?
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Yes possible.
You can post your worknote as hyperlink.
If you want to do via scripting then see below Sample code
var gr = new GlideRecord('incident');
gr.get('83dy5bd2fc37010f68d5ff62799b62d');
var url = '[code]<a href="' + gs.getProperty('glide.servlet.uri') + '/'+gr.getTableName() + '.do?sys_id=' + gr.sys_id + '" target="_blank">' + 'Hyperlink Text' + '</a>[/code]';
gr.work_notes= url;
gr.update();
You can construct your worknotes in similar href tag even in flow designer or somewhere else.
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth
