Hi,
I would like to update several delivery templates in Adobe Campaign that are currently missing some required HTML code in the email body. Specifically, I want to insert the following code into the body section of each template:
<p><%@ include view='logo'%></p> <p><a href="<%@ include view='MirrorPageUrl' %>">Web version</a></p> <p>Dummy</p>
Is it technically possible to use JavaScript to programmatically populate the body (HTML content) of some delivery templates with this code? If so, could you provide guidance or best practices on how to achieve this? I can populate fields with mass update or JS but I want to write that code in the body of a delivery template without doing it manually (opening XML-code and pasting it).
I want to write the code in the body as below:
<source><![CDATA[<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p><%@ include view='logo'%></p> <p><a href="<%@ include view='MirrorPageUrl' %>">Web version</a></p> <p>Dummy</p>
</body>
</html>]]></source>
</html>
Thank you in advance for your help!