Import Content Template | Community
Skip to main content
June 12, 2020
Solved

Import Content Template

  • June 12, 2020
  • 1 reply
  • 1399 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

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

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
June 15, 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