Support Topics Documentation Slack YouTube Blog

Email template - how to use array of Dynamic Text properties

I could not find any documentation how to add array of properties into email template.
Is there any syntaxt something like for Freemarker?

What should I expect for email template:
< list item of properties >
{item.name}
{item.count}
{item.price}
< /list >

Is there any way how to use array in template?

Hello, @Martin_Krajcir1.
Unfortunately, we do not yet have such functionality in custom templates.

Alternatively, you can use the usual sendEmail API and send the necessary values to the message body in the code.

Regards, Nikita

1 Like

Hi @Nikita_Fedorishchev thank you.
Because I need to send email with CC and BCC (it is not supported via JS SKD) I found another smart solution.

The Dynamic Text properties can be used also for HTML string. So I just put all my list into HTML template programicaly and then send this HTML as string as Dynamic Text.