I created an HTML Email Template (view below) and I am trying to figure out a way to display the <b>Approver Comment:</b {!Matter__c.Approver_Comment__c} ,
only when {!Matter__c.Approver_Comment__c} Is Not Null.
Hi {!Matter__c.OwnerFirstName},
<br><br>
Engagement: <b><a href="{!Matter__c.Link}">{!Matter__c.Name}</a></b> has been <b>Approved</b>.
<br><br>
<b>Approver Comment:</b> {!Matter__c.Approver_Comment__c}
I appreciate all your help.
11 réponses
Try this =
{!IF(NOT(ISBLANK(Matter__c.Approver_Comment__c)), "<b>Approver Comment:</b> " + Matter__c.Approver_Comment__c, NULL)}
VERY IMPORTANT: Copy the above line and then while pasting it use "
Paste as plain text".