Add hyperlink to record on email
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 12:44 PM
Hello,
I am task to create an email template that will have a hyperlink connected to the specific record in question in the description so that whoever selects the hyperlink it will take them to that record in SN. Can someone walk me through what would be the best solution for this?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 12:52 PM
You'll want to create an email script and then call the script in your email template. The email script should have some code like:
var link = gs.getProperty("glide.servlet.uri") + "nav_to.do?uri=%2F" + current.sys_class_name + ".do%3Fsys_id%3D" + current.sys_id;
template.print("<a href="' + link + '"' + current.number + '</a>');