overriding linked delivery content | Community
Skip to main content
Level 2
September 12, 2019
Solved

overriding linked delivery content

  • September 12, 2019
  • 2 replies
  • 3346 views

is it possible to override, linked delivery content in the campaign, let's say my delivery template is linked to the content in CMS(for example AEM), and I am using that template in delivery activity and I would like to override its content, how this can be achieved? because once the link is established while sending delivery, campaign pulls the latest content and sends delivery .

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 DimaKudryavtsev

You can use initialization script for any activity and access/modify its data. Be careful, though, as ACM will not check your changes. Activity data can be accessed via activity keyword and it is an XML object.

If you wish to print it out, use

logInfo(activity.toXML().toXMLString())

and you will be able to see what properties are available.

2 replies

DimaKudryavtsev
DimaKudryavtsevAccepted solution
Level 3
September 13, 2019

You can use initialization script for any activity and access/modify its data. Be careful, though, as ACM will not check your changes. Activity data can be accessed via activity keyword and it is an XML object.

If you wish to print it out, use

logInfo(activity.toXML().toXMLString())

and you will be able to see what properties are available.

shiva_kumarp498
Level 2
September 13, 2019

Thanks Dima, I am using this method aemGetContent with delivery but its not returning parsed xml and making it difficult to retrieve data from it, do you any idea about this and there is not much documentation as well.