The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Add hyperlink to record on email

BenjaminY
Tera Contributor

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?

 

BenjaminY_0-1727293449418.png

 

1 REPLY 1

Alex Rose
Tera Guru

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>');