Insert Record Fields into a Template
Merge fields are placeholders in a template that GovAssist replaces with a record's values when it generates the PDF. Use them for anything that changes from record to record: the permit number, applicant name, address, dates, amounts, and signatures.
Prerequisites
- Permission to edit PDF templates.
- The template's entity has the fields you want to print. To print details of a related record (for example the contractor on a permit), the entity needs an association field that links to that record (see Associations & Lookups).
Steps
Open the Fields tab
In the template editor, the Insert Field panel on the right opens on the Fields tab. Fields are grouped by the sections of your entity. Expand a section to see its fields.
Find the field
Type in Search to filter by field name. Hidden fields are not listed.
Insert it
Click in the canvas where the value belongs, then click the field in the panel. You can also drag the field onto the canvas, or type two opening braces in the canvas and choose from the list that appears. The field shows as a placeholder, for example {{ Permit Number }}.
Insert a field from an associated record
Association fields have an expand arrow. Expand one to list the fields of the linked entity, labeled with the association in parentheses, for example Business Name (Contractor). Click the one you need. If several records are linked, their values print together, separated by commas.
Check what is already used
Fields already in the template have a blue background in the panel, so you can see at a glance what the document covers.
Save and publish
Click Save Draft, then Publish when the layout is final.
How values are formatted
You do not choose a format. GovAssist formats each value from its field type when the PDF is generated:
| Field type | Prints as |
|---|---|
| Text, long text, email, phone, URL | The stored text |
| Number | With thousands separators; decimals shown to two places when present (125000.5 prints as 125,000.50) |
| Date | Month day, year (October 7, 2025), in your agency's display time zone |
| Date and time | Month day, year and time (October 7, 2025 9:00 AM) |
| Time | Hour and minute with AM or PM (3:30 PM) |
| Date range, time range | Start and end joined by a hyphen |
| Yes/No (boolean) | Yes or No |
| Dropdown, radio, checkbox | The option labels, not internal values; several selections separated by commas |
| User | The user's display name |
| Association | The linked record's display value; expand the field to print a specific field instead |
| Address and parcel lookup | The site address, with parcel and owner lines when present |
| Image, signature | The image embedded in the page; a signature field with no signature prints "Not signed" |
| File | Image files embedded; other files as a link |
| Formula | The computed value |
| Rich text | The formatted text |
An empty field prints nothing, so a label in front of it ("Contractor:") still prints. Lay out optional values where a blank does not look like an error.
Payment values
Amounts on the Payment tab print with a currency symbol. See Payment details table.
Example
Fields a Building Permit Certificate typically uses, where the Building Permit entity is associated with an Applicant contact and a Contractor:
| Placeholder in the template | Field type | Prints |
|---|---|---|
{{ Permit Number }} | Text | BP-2026-00421 |
{{ Issued Date }} | Date | March 3, 2026 |
{{ Site Address }} | Address lookup | 120 Main Street, Springfield |
{{ Work Type }} | Dropdown | New Construction |
{{ Construction Value }} | Number | 285,000 |
{{ Applicant Name (Applicant) }} | From associated record | Jordan Lee |
{{ Business Name (Contractor) }} | From associated record | Lee Builders LLC |
{{ Building Official Signature }} | Signature | The signature image |
Common mistakes
- Typing placeholders by hand. Only fields inserted from the panel or the brace list are linked to a record field. Re-insert any placeholder you typed or pasted from another document.
- Renaming or deleting a field after building the template. Review templates that use a field before deleting it from the entity, then re-insert and republish.
- Expecting conditional sections. Templates do not show or hide blocks based on a record's values. Create a separate template for a document variant and choose it in the automation.
- Printing the association itself when you need one detail. Expand the association field and insert the specific child field, such as the contractor's license number.
- Testing with an incomplete record. Generate a test PDF from a record that has every field filled in, so you can see where each value lands.