Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

how to use javascript in transactional messaging templates?

Avatar

Level 1

how to use javascript in transactional messaging templates and how to provide the data in seed address for a dynamic transactional message? 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Debasmita17 

 

In transactional templates or email templates you can use the script tag to write scripts

<script type="text/javascript" ></script>

You can find fews resources here.

OR you can use the JSP expression tags "<% %>" for scriptings as below.

AkshayAnand_0-1692613595743.png

 

To update the data for seed addresses in transactional templates you can click on send a proof option 

AkshayAnand_1-1692613667956.png

 

A seed address get added automatically which you can edit by clicking on details 

AkshayAnand_2-1692613723224.png

 

and inside the content area you can pass on your parameters inside the ctx tags.

AkshayAnand_3-1692613780567.png

 

Regards

A

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @Debasmita17 

 

In transactional templates or email templates you can use the script tag to write scripts

<script type="text/javascript" ></script>

You can find fews resources here.

OR you can use the JSP expression tags "<% %>" for scriptings as below.

AkshayAnand_0-1692613595743.png

 

To update the data for seed addresses in transactional templates you can click on send a proof option 

AkshayAnand_1-1692613667956.png

 

A seed address get added automatically which you can edit by clicking on details 

AkshayAnand_2-1692613723224.png

 

and inside the content area you can pass on your parameters inside the ctx tags.

AkshayAnand_3-1692613780567.png

 

Regards

A