How to add a hyperlink to the message in notification

GP001
Tera Contributor

Hi All,

I have a question :

Could anyone please tell me how to add a hyperlink to the message in notification? Thank you.

GayatriPani_0-1713376670763.png

 

2 REPLIES 2

Ritesh Kag
Kilo Guru

Hi @GP001  

1) If you want to add the link to the same record you can try

${URI_REF} or ${URI} and hyperlink would be created for the display field of record.

2) If you want to create external hyper link you create a mail script with the below code and call it in your notification body.

//----

var attachLink = "<a href='http://wikipedia.de'> Link </a>";

template.print(attachLink);

//--

 

Note - Use the below link to learn how to create and use mail scripts

Link

 

Thanks,

 

Ritesh

 

PS - Please mark as correct, helpful and like if it solves your problem

johnfeist
Mega Sage
Mega Sage

Hi GayatriPani,

 

Check the setup of your what it will contain tab.  You might start with the UI Policy Message Body.  There are two boxes available, Message and Message HTML.  The Message HTML box has a Link button which you can use if your link doesn't change. 

 

If you need logic to determine the link, you will need to use an email script to do the work and then include it in the message in the format:

${email_script:<your script name>}

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster