Docs Made Easy version 1.10 introduced a new merge syntax for templates. Both the old and the new syntax still work, so existing templates keep working. Use the new syntax for new templates, because it is easier to read and maintain.
Standard merge fields
Standard merge fields now use double curly braces instead of {!...}.
| Old syntax | New syntax |
|---|---|
{!Account.Id} | {{Account.Id}} |
Child relationship merge fields
Child relationship fields are now wrapped in {{TableStart}} and {{TableEnd}} tags, which makes the structure of the table clear.
| Old syntax | New syntax |
|---|---|
{!Account.r.Contacts.LastName} {!Account.r.Contacts.Name} | {{TableStart:Account.r.Contacts}} {{LastName}} {{Name}} {{TableEnd:Account.r.Contacts}} |
Query data
Query data fields also use {{TableStart}} and {{TableEnd}} tags, which makes the queried data easier to organize and present.
| Old syntax | New syntax |
|---|---|
{!QueryData1.Id} {!QueryData1.Name} | {{TableStart:QueryData1}} {{Id}} {{Name}} {{TableEnd:QueryData1}} |
For full details of the change, see the October 2023 release notes (v1.10.2). To get the latest version, visit the Docs Made Easy AppExchange listing.
Related: Where do I find merge fields? · Use SOQL queries in Docs Made Easy