Hyperlink in Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 03:52 AM
Hi All,
We have configured provider notification which is triggered in msteams.
notification is getting triggering ,but need help in adding Hyperlink in that notification ..
${mail_script:scriptName} is not working its coming as plain text and not as hyperlink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 05:26 AM
Hi @Mahesh033
I can see you are passing mail script as ${mail_script:scriptName} as per your screenshot. Can you please replace scriptName with the actual Notification Email Script Name and retry ?
Also, ensure that the content type is HTML and Plain Text by going into advanced view as shown below :
Moreover, in your email script, replace template.print() with
var surveyUrl = '<a href="' + gs.getProperty('glide.servlet.uri') + 'sp?id=take_survey&instance_id=' + survey.sys_id + '">Please take survey</a>';
template.print(surveyUrl);
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 05:52 AM
Hi @Amit Verma
Thanks for your response , we are using provider notification in which we don't have HTML content type .