Notification script problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 12:50 AM
Hi I have written the below script :
Instead of giving clickable link that open mails it is printing that text :
Screen shot:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 02:16 AM
Hi ,
When I am trying to construct the using a tag :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 02:39 AM
try
"<div><a href="+${mailto:mailto.approval.accept} +">Accept </a> </div>"+
PS: I have removed extra quotes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 01:32 AM
Hi @avinashdubey103 ,
Just try replacing this line of code
"<div><label style='color: #324450;'> ${mailto:mailto.approval.accept}</label> <label style='color: #324450;'>${mailto:mailto.rejection.accept}</label></div>"
WITH below code
"<div><label style='color: #324450;'>"+ ${mailto:mailto.approval.accept}+"</label> <label style='color: #324450;'>"+${mailto:mailto.rejection.accept}+"</label></div>"
Please let me know if this works for you or not.
Happy to help 🙂
Thanks
Vipin Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 03:59 AM
Hello Avinash,
Please update when you have a solution.