Merge Tags and Expressions

Merge tags and expressions personalise DonorPoint content with live data. They work in email templates, confirmation pages, form layouts, document templates, and view pages.

Two Expression Types

Legacy Merge Tags (uppercase, resolved first):

#{CONTACT}          → Donor full name
#{DATE}             → Transaction date
#{ORDERTABLE}       → Full transaction summary table
#{CAMPAIGNNAME}     → Form name
#{DOUBLETHEDONATION}→ Employer matching widget

EL Expressions (camelCase, full data access):

#{contact.firstName}
#{purchaseOrder.amount}
#{campaign.name}
#{orderItem.get('MealChoice').value}
#{fund.get('GL_CODE').value}

Null Safety

Always test before accessing:

#{not empty contact.employer ? contact.employer.name : 'Independent'}

Dynamic Tables

<table data-value="#{purchaseOrder.orderItems}" data-var="oi">
  <tr>
    <td>#{oi.orderableItem.name}</td>
    <td>$#{oi.extendedPrice}</td>
  </tr>
</table>

Key Merge Tags by Context

See Merge Tags Reference for the complete catalog of all 55+ merge tags with context table and examples.