How to put hyper link on email notification

sinu2
Tera Expert

I am strucking to make hyper link on he email notification. I know some what, that we can write in email script..

 

@Please find the below screen shot which i want clickable"Take me to the Incident" link on the email notification.

find_real_file.png

9 REPLIES 9

Technically they are link buttons with images.

 

Check this article, it might help you:

 

http://www.servicenowguru.com/system-definition/email-notifications-system-definition/approval-email-mailto-image-links/

No Ambre, YOU UNDERSTOOD WRONG.. my requirement is "only text" which is clickable if you click on that it should takes to that particular incident.

Only Clickable Text is called a HyperLink!

Button with Text is the link which I have sent.

That's why in the first place I asked if you want a BUTTON which will be redirecting to the incident or a HYPERLINK that will redirect to the incident.

Dhanuja
Kilo Contributor

Hi srisk,

The hyperlink can be created by using the below code in email script.

var link = current.getLink();
template.print('<a href="' + link + '">Take me to the Incident</a>');

 

Hope it helps !!

 

varaprasad123
Kilo Guru

You can use insert/edit link option which is present in notification as shown below.

find_real_file.png

Edit it as:

find_real_file.png

This will be view as below:

 

find_real_file.png