Avatar

Correct answer by
Community Advisor

Hello @Bowenaus ,

 

Go to your delivery > > properties  >  variables tab create a new variable and give it a name for eg. variable ABC, data type of this variable should be string.

 

Then in the advanced tab of the delivery use this code.

delivery.variables._var[0].stringValue =  vars.hello;

 

Then in the delivery template you can print the value of variable ABC like this

<%= variables.ABC %>

 

Thanks,

Manoj

 

View solution in original post