Import Content Template | Community
Skip to main content
New Participant
Jun 12, 2020 3:59 PM UTC
Solved

Import Content Template

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.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Jun 15, 2020 6:02 PM UTC

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
Jonathon_wodnickiAccepted solution
New Participant
Jun 15, 2020 6:02 PM UTC

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

Translate