HTML Source Editor replace symbol

Posted by Rollbase User on 06-Mar-2013 02:13

I have in HTML Source Editor to replace the code brackets with the corresponding symbol codes, i.e. with >

All Replies

Posted by Admin on 06-Mar-2013 02:15

with & gt;.

Posted by Admin on 06-Mar-2013 03:59

and in Email Template-Format from HTML not Convert to plain text.

Posted by Admin on 06-Mar-2013 11:05

Please use Script Component instead. Or use "Code" button in HTML editor.

Posted by Admin on 06-Mar-2013 12:04

Sorry, please show me some example.



Posted by Admin on 06-Mar-2013 13:20

I tried EVAL block with > symbol - it works fine.

Posted by Admin on 06-Mar-2013 13:21

Try "HTML" button on Rich Editor's toolbar.

Posted by Admin on 06-Mar-2013 20:00

I'm using Rich Editor, write code and click update





but Editor replace <





I'm tried from WIn 7 Chrome, Firefox, IE and Android tab.

Posted by Admin on 06-Mar-2013 20:03

Please try using Script Component instead.

Posted by Admin on 06-Mar-2013 20:05

Where is Script Component in Email Template?

Posted by Admin on 06-Mar-2013 20:24

Please, help. How to insert JavaScript code to Email Template.

Posted by Admin on 06-Mar-2013 21:33

I thought you're talking about Page Editor.



Please try HTML button in Rich editor. Or you can create Template Field (or Formula field).

Posted by Admin on 06-Mar-2013 21:55

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

Posted by Admin on 06-Mar-2013 21:58

Posted by Admin on 06-Mar-2013 21:59

Create Formula field with string output. I'll add option to skip encoding so you could use it in HTML template.

Posted by Admin on 06-Mar-2013 22:13

Thanks a lot. I'll try.

Sorry, where is option skip encoding?

Posted by Admin on 07-Mar-2013 00:50

Marat,



Pavel is going to add this option to skip encoding in the next release.



Thanks,

Matt

This thread is closed