function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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)}"