How to dynamic list in email template?

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

How to dynamic list in email template?

L1 Bithead



I want to get a list data of unknown lenght into html body(list).
But I don't know how to do this.
For example, I am pulling a data. in one of them, data1 and data2 come. in the next one, data1, data2 and data3 come. how can I print them dynamically in the mail template?


L4 Transporter

Assuming you're using the CreateEmailHtmlBody automation to create the template -


If that list changes everytime, then you could considering transforming it to the format you want by setting it to a new context key before passing it into the tempalte.   For example using the Set automation, with a Join transformer to make it a comma seperated string. 

  • 1 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!