How to add a hyperlink to the message in notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 10:58 AM
Hi All,
I have a question :
Could anyone please tell me how to add a hyperlink to the message in notification? Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 12:18 PM - edited 04-17-2024 10:00 PM
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
Thanks,
Ritesh
PS - Please mark as correct, helpful and like if it solves your problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 12:48 PM
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>}
:{)
Helpful and Correct tags are appreciated and help others to find information faster