I have in HTML Source Editor to replace the code brackets with the corresponding symbol codes, i.e. with >
with & gt;.
and in Email Template-Format from HTML not Convert to plain text.
Please use Script Component instead. Or use "Code" button in HTML editor.
I tried EVAL block with > symbol - it works fine.
Try "HTML" button on Rich Editor's toolbar.
Please try using Script Component instead.
Where is Script Component in Email Template?
Please, help. How to insert JavaScript code to Email Template.
I thought you're talking about Page Editor.
Please try HTML button in Rich editor. Or you can create Template Field (or Formula field).
I need to create google chart in Email Template with HTML format Image and send email. Now, my code create some url and send email with Plain text format. What you recommend?
Please see my code and what I want to do:
#EVAL[var dd = "", buf="", buf2="",val="",val2="";
var my_arr = rbv_api.selectQuery("SELECT locationid FROM lead where getemplid=? group by locationid", 100, "{!getemplid}");
for(var i=0; i
var my_arr2 = rbv_api.selectQuery("SELECT count(1), sectors FROM lead WHERE getemplid=? and locationid=? group by sectors", 100, "{!getemplid}", my_arr[i][0]);
for(var j=0; j
if(j==0){val = my_arr2[j][0];
val2 = my_arr2[j][0];
buf2 = rbv_api.getValueById("lead", "sectors", my_arr2[j][1]);
buf2 = buf2.split(' ').join('%20');
}
else{val += ","+my_arr2[j][0];
val2 += "|"+my_arr2[j][0];
buf2 += "|"+rbv_api.getValueById("lead", "sectors", my_arr2[j][1]);
buf2 = buf2.split(' ').join('%20');
}
}
buf = rbv_api.getFieldValue("$ORG_LOCN", my_arr[i][0], "na
Create Formula field with string output. I'll add option to skip encoding so you could use it in HTML template.
Thanks a lot. I'll try.
Sorry, where is option skip encoding?
Marat,
Pavel is going to add this option to skip encoding in the next release.
Thanks,
Matt