Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
costa_n11Accepted solution
Adobe Employee
Jul 22, 2021 1:34 PM UTC

Hi,

First of all, on the CMS part, you will need an endpoint where you'll be able to select a email content and once selected, the CMS returns the HTML back to the calling system, Campaign in our end, then in Campaign, you can customise the Delivery form to add a button that would use the new endpoint, once you've got the HTML you will save it in the field content\html\source, you will also need to get the Text version of the email that you would save in the field content/text/source....

Certainly doable, but not everything is Campaign related, the CSM needs to provide the right service too...

Hope this helps,

Thanks

Denis

3 replies

CedricRey
Level 5
Jul 16, 2021 2:01 PM UTC

Hi @diabbs 

As we work with Dartagnan (and my colleague developped the API to do exactly what you are trying), this is definitively possible.

You should ask them for some documentation, then you can make an HTTP / REST call with the HttpClientRequest object, in a JS Script (into a JSSP, a workflow etc.)

 

Cedric

 

Translate
costa_n11Adobe EmployeeAccepted solution
Adobe Employee
Jul 22, 2021 1:34 PM UTC

Hi,

First of all, on the CMS part, you will need an endpoint where you'll be able to select a email content and once selected, the CMS returns the HTML back to the calling system, Campaign in our end, then in Campaign, you can customise the Delivery form to add a button that would use the new endpoint, once you've got the HTML you will save it in the field content\html\source, you will also need to get the Text version of the email that you would save in the field content/text/source....

Certainly doable, but not everything is Campaign related, the CSM needs to provide the right service too...

Hope this helps,

Thanks

Denis

Translate
Level 2
Aug 6, 2021 7:23 AM UTC

Hi @diabbs,

 

You can call your CMS API and store the HTML code response in the instance variable of the workflow. and later on in the delivery activity, write a script to take a HTML code from the instance variable.

 

Below is the sample code. 

 

Regards,

Nitesh 

Translate