+ Start a Discussion
ChemburChembur 

Concat in HTML Email Template

Is there a way to concat String and field in HTML Email template. I want to say

{!IF(ISBLANK(Case.CaseNumber ), 'NO Case Number', 'CaseNumber is:' &  Case.CaseNumber)}

 

& doesnot seem to work. I tried + and || they donot work either. Can string be concatenated in HTML Email Templates?

liron169liron169
Hello,
try this:

"{!IF(Case.CaseNumber==null, 'NO Case Number', 'CaseNumber is:' + Case.CaseNumber)}"