Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Import Content Template

kaviya
Level 1
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
Jonathon_wodnicki
Correct answer by
Community Advisor
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
Jonathon_wodnicki
Correct answer by
Community Advisor
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