Hi Jon,
My concern is to check how many additional data is added inside the delivery/delivery template. I shouldn't have to manually add <%= targetData[field1] %> <%= targetData[field2] %> <%= targetData[field3] %>.
I want to loop through the targetData. For example, if 3 additional data (targetData.firstName, targetData.lastName, targetData.email) is added, I should be able to code as follows. Because I do not know how many additional data is added in the query activity.
Expected code:
<%
for each(var data in targetData) {
document.write(data + "\n")
}
%>
Expected Output:
First Name
Last Name
Email
Thanks.