Expand my Community achievements bar.

SOLVED

overriding linked delivery content

Avatar

Level 2

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 .

1 Accepted Solution

Avatar

Correct answer by
Level 4

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

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.

Avatar

Level 2

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.