- 06 Dec 2024
- 1 minute read
- Print
- DarkLight
- PDF
Content Blocks within Decision Letters
- Updated 06 Dec 2024
- 1 minute read
- Print
- DarkLight
- PDF
Content Blocks are applied to a decision letter in a similar manner as they are applied to a mailing. Rather than a recipient list query, the data points that Content Block values should reference may be present in the default merge fields within the decision letter template or in a MergePublic query.
Content Blocks become extremely powerful in decision letters when multiple templates can be consolidated into one decision letter template. This will aid in year-over-year maintenance of decisions letters, as updating content can then take place in the Content Blocks themselves, rather than in multiple letters.
✨ TipBefore adding a Content Block to a mailing, first create the Content Block content.
In the decision letter that should display the Content Blocks, first ensure that any necessary merge fields are accessible. To insert a Content Block as a merge field within a Decision Letter:
Within the Edit Template view of a decision letter template, go to where the Content Block content should be merged.
Enter the following text:
NAME OF EXPORT | block: "KEY OF CONTENT BLOCK"
where NAME OF EXPORT is the name of the export in the MergePublic query or default merge fields, and KEY OF CONTENT BLOCK is the key of the Content Block that contains the codes to merge into the message.
Select Save.
For example, it may be desired to dynamically merge in different staff signatures based on the program to which the student applied. The merge field for this content block may resemble the following in the letter template:
{{program | block: "faculty_signatures"}}
When previewing this letter, the content block merge field dynamically displays the content corresponding with that record's data currently present in the "program" export. For instance, if a sample record has a program of Aviation, the content block content with the value of "Aviation" displays: