Letter Template & Merge Fields

This section is for identifying and understanding how to use Letter Generation and specifically, Letter Template. Letter Template is the object used to create templates for use as receipt letters, award letters or other communication connected to a record. It works in conjunction with Letter Template Merge Fields and Letter Output.

Content

Custom Fields

Some of these fields are Picklist and need to have values assigned and others are populated by users. Work with your teams to determine which fields you plan to use. Make sure these are included on the Fund Page Layout and Lightning Page.

Letter Template Object:

Letter Template Merge Fields Object:

Field Set

An example field set is included with several objects where tables can be used in a Letter Template. Add and rearrange fields as needed.

Permission Set

Apex

Action

Flow

Letter Template record

For the best results, if copying and pasting text from a Word document, paste it to Notepad first to remove formatting, then copy again from Notepad and paste into the Template Body field.

From the Letter Template object, select New button then

Letter Template Merge Field records

Merge fields to Template Body

A completed Letter Template will look something like the screenshot below

Tables within Letter Template record

Letter Generation allows for creating tables with record data merged into a letter template.

The screenshot below shows the required setup for merging a table into a letter template