Import Content Template

Avatar

Avatar

kaviya

Avatar

kaviya

kaviya

12-06-2020

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

15-06-2020

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

Answers (0)