Skip to main content
Version: 1.24

Receipt Template Fields

Object API name: dryad__Receipt_Template__c

A Receipt Template defines what a receipt PDF looks like. Sample English and French templates are created when the app is installed. You can have separate templates for donations, acknowledgments and giving summaries, in each language.

Templates are edited in the template editor, and chosen in Receipt Settings, on Receipting Accounts, or on individual gifts. See Templates and Merge Fields, and the Receipt Templates article.

Content and Layout​

FieldData TypePurpose
Content
dryad__Content__c
Long Text AreaThe body of the template: formatted text (HTML) with merge fields such as {!dryad__Receipt__c.dryad__Donor_Name__c}, which are replaced with the receipt's values.
Filename
dryad__Filename__c
TextThe name given to each PDF file created from this template (without ".pdf"). It can include merge fields, for example the receipt # and issue date. New templates default to Receipt {!dryad__Receipt__c.dryad__Receipt_Name__c} {!dryad__Receipt__c.dryad__Calculated_Issue_Date__c}. Any "/" in the resulting name is replaced with "-". Checked when saved in the template editor.
Page Size
dryad__Page_Size__c
PicklistThe paper size of the PDF: "Letter", "Legal" or "A4".
Page Margin (px)
dryad__Page_Margin__c
NumberThe blank margin around each page, in pixels. The default is 50.

Management​

FieldData TypePurpose
Receipt Template #
Name
Auto NumberThe template's reference number (for example RT-00012), assigned automatically. Use Description to give the template a meaningful name.
Active
dryad__Active__c
CheckboxOnly active templates are offered when choosing a template. A template still selected in Settings, on a Recurring Donation or on an Account can't be deactivated, and one used on any record can't be deleted. See Deactivating or Deleting a Template.
Description
dryad__Description__c
TextNotes about the template, such as when to use it.
Name and Description
dryad__Name_and_Description__c
Formula (Text)The template's number followed by its description. Shown in template pick lists so you can tell similar templates apart.
Validation Issues
dryad__Validation_Issues__c
Long Text AreaRead-only. The problems found the last time the template was saved in the template editor, one per line, or "No issues found." Changes made outside the editor don't update it. See Checks When You Save.
Last Record Id Used
dryad__Last_Record_Id_Used__c
TextFor the app's use: the last record used to preview the template, so the next preview opens with it.