Questions tagged [hml]

HML is the abbreviation of Handlebars Merge Language, which is used to add dynamic content to Lightning Email Templates.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

Conditions in Handlebars Merge Language: how to avoid empty lines?

In a Lightning e-mail template, I want to conditionally add links to photos, like this: {{#if Case.Photo_1_relevant__c}}{{{Case.Photo_URL_1_as_link__c}}}{{/if}} {{#if Case.Photo_2_relevant__c}}{{{Case....