Add link clickable link to work notes of incident when incident created from case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 07:57 AM
Hello All,
I have a requirement where from a case when I create an incident from a case that it inserts into the work notes of the incident a clickable link to the case the Incident was created from.
Anyone have the code or or know how I can do this?
Kind Regards,
Luke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 08:36 AM - edited 06-04-2024 08:36 AM
Hello Luke,
You can insert hyperlink automatically using [code] [/code] tag & insert hyperlink in worknotes and comments.
For instance : You can add below snippet of code to the existing BR which is creating incident from case to include the hyperlink :
current.work_notes = 'Incident [code]<a href="'+gs.getProperty('glide.servlet.uri')+'nav_to.do?uri=incident.do?sys_id='+sysID+'" target="_blank">INC_number</a>[/code] has been created.';
Please find similar question which was solved earlier :
add clickable link in work notes for incident record.
How do I display a clickable URL in my work notes? Please do not use the example that uses [code].
Let me know if any of this was helpful.
Cheers,
Kiranmai Kattamuri