Expand my Community achievements bar.

SOLVED

Import Content Template

Avatar

Level 1

Hi,

I'm having HTML templates handy. is there any way to create a Email delivery with this HTML Template via Script or some thing else. Because i want this template to load dynamically. i don't want to do it manually to create Email and import this template and all. There is a personalized fields in the HTML Template as well. Please suggest me some ways to achieve this.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Scripting use nms.delivery.CreateFromModel(). The 2nd arg lets you overwrite parts of the xml in the template you're instantiating, e.g. htmlContent.

 

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

 

Scripting use nms.delivery.CreateFromModel(). The 2nd arg lets you overwrite parts of the xml in the template you're instantiating, e.g. htmlContent.

 

Thanks,

-Jon