Hi team,
I need to create a logic for dynamic table within a PDF attachment of email delivery .
please let me know of any appropriate approach in this scenario. I went through documentation,however there was no proper approach mentioned for the same. I tried using following script but that didn't work out.
<%=
for (var i = 0; i< customProduct.length; i++){
if(customProduct[i].email==targetData.email)) {
document.write(customProduct[i].email);
}
%>
Note: link to the documentation
Generating personalized PDF documents
Thanks