AHow to create Link through Notifications emails script.

Sirri
Tera Guru

Hi all,

 

how create link through notification email script  and then how to call in that in notifications. suppose below is one is link:

https://www.google.com/search?q=today&rlz=1C1GCEB_enSG1079SG1079&oq=today&gs_lcrp=EgZjaHJvbWUyBggAEE...

 

my requirement is only through notifications email scripts. 

please provide source code for this.

 

Thank you

1 ACCEPTED SOLUTION

Harish KM
Kilo Patron
Kilo Patron

Hi @Sirri here is the example, create a notification email script

script:

var url = ''https://www.google.com';

var googleLink = '<a href="' + url + '">Google</a>';
template.print(googleLink );

 

call the above email script in your notification with below syntax

${mail_script:Name of the script}

Regards
Harish

View solution in original post

1 REPLY 1

Harish KM
Kilo Patron
Kilo Patron

Hi @Sirri here is the example, create a notification email script

script:

var url = ''https://www.google.com';

var googleLink = '<a href="' + url + '">Google</a>';
template.print(googleLink );

 

call the above email script in your notification with below syntax

${mail_script:Name of the script}

Regards
Harish