Design a Template in the Template Editor
The template editor is where you lay out the document: the wording, headings, tables, logo and images, and the merge fields that pull values from each record. What you see in the editor, framed by the department's header and footer, is what the generated PDF looks like.
Prerequisites
- Permission to edit PDF templates. Users without it see the template read-only, with no toolbar or field panel.
- A template already created (see Create a PDF Template).
- The department's header and footer set up, so you design against the real page (see Set Up Departments and Template Types).
The editor at a glance
| Area | What it holds |
|---|---|
| Header bar | The Active / Inactive switch, Save Draft, and Publish |
| Template info | Template name, type badge, description, and the Configure button for the template's settings |
| Editor canvas | The document body with the formatting toolbar. The department's default header and footer show above and below your content |
| Insert Field panel | Two tabs: Fields (record and associated-record fields) and Payment (payment fields and the payment details table). On a phone, open it with Insert Field |
Steps
Open the template
In PDF Templates, click the template's card. A newly created template opens here automatically.
Write and format the text
Click in the canvas and type. Use the toolbar to style it:
- Font family: Default, Arial, Times New Roman, Georgia, Verdana, Trebuchet MS, or Courier New.
- Font Size (8px to 72px), Line Height, Font Color, and Background Color (highlight).
- Bold, italic, underline, and strikethrough; headings 1 to 6; bullet, numbered, and task (checkbox) lists.
- Alignment: Align Left, Align Center, Align Right, Justify.
- Insert Link, Clear Formatting, Undo, and Redo.
Add tables for structured content
Click Insert Table. With the cursor in a table you can Add Row Before or After, Add Column Before or After, Delete Row, Delete Column, Merge Cells, Split Cell, Toggle Header Row, Toggle Header Column, set a Cell Background Color, Toggle Table Border, or Delete Table. Tables with borders turned off are a reliable way to place two columns of labels and values side by side.
Insert images such as a seal or signature graphic
Click Insert Image and choose a file. The image is stored with the template and printed in place. For a logo that should appear on every document a department issues, put it in the department header instead.
Insert merge fields
Place the cursor where a record value belongs and click a field in the Fields tab, drag it onto the canvas, or type two opening braces and pick from the list. The field appears as a placeholder such as {{ Permit Number }} and is replaced with the record's value when the PDF is generated. See Insert Record Fields into a Template.
Add payment information if the document needs it
On the Payment tab, click Payment Details to insert a table of the record's payments. Hover over the inserted table to configure which columns show or to remove it. Details are in Payment details table below.
Save the draft
Click Save Draft. An amber dot on the button means you have unsaved changes; after saving it reads Saved. The editor does not save automatically, so save before leaving the page.
Publish when ready
Click Publish to make this version the one used for generated PDFs, then switch the template to Active. See Publish and Activate a Template.
Payment details table
The Payment Details table lists the payments recorded on the record, one row per payment, with a total under the Amount column. If the record has no payments, the PDF shows "No payment information available" in its place.
| Column | Shown by default | Prints |
|---|---|---|
| Date | Yes | Date of the payment |
| Amount | Yes | Amount with currency, plus a total row |
| Status | Yes | Payment status, such as Paid |
| Payment Method | Yes | The provider or method used |
| Transaction ID | No | The processor's transaction reference |
| Reference Number, Account Code, Currency | No | Available in the column list; may print blank depending on what the payment record holds |
The Payment Fields list on the same tab also offers Payment Amount, Payment Provider, and Currency as single values. Use the Payment Details table for amounts and methods; test any single payment field with a real record before relying on it.
Page size and layout
- Documents print portrait. The page size is a per-department setting with A4 as the default; Letter and Legal are also supported. There is no page size control in the editor, so ask your GovAssist administrator if your agency prints on Letter or Legal paper.
- Force Single Page (in Configure) shrinks long content to fit one page when it can stay readable.
- The department header and footer repeat on every page. Keep body content clear of them; for best results use header images sized 680 by 144 pixels and footer images sized 680 by 87 pixels.
Example
The body of a Building Permit Certificate, laid out under a department header that carries the seal and agency name:
| Block | Content |
|---|---|
| Heading 1, centered | BUILDING PERMIT |
| Two-column table, borders off | Permit Number: {{ Permit Number }}, Issued: {{ Issued Date }} |
| Paragraph | Permission is granted to {{ Applicant Name (Applicant) }} to perform the work described below at {{ Site Address }}. |
| Table with header row | Work Description, Construction Value, Contractor: {{ Work Description }}, {{ Construction Value }}, {{ Business Name (Contractor) }} |
| Payment Details table | Date, Amount, Status, Payment Method |
| Paragraph, small | This permit must be posted on site and visible from the street until final inspection. |
The labels in braces are the field labels from your own entity; yours will differ.
Common mistakes
- Leaving without saving. There is no auto-save. Click Save Draft before closing the tab.
- Typing a placeholder by hand. Insert fields from the panel or the brace list. A hand-typed
{{ Permit Number }}is not linked to a field and prints as typed or blank. - Putting the logo in every template. Put shared branding in the department header so one change updates every document.
- Wide tables. Very wide tables are scaled to the page width and can become hard to read. Split long rows into two tables.
- Expecting edits to reach issued documents immediately. Saved changes are a draft. PDFs keep using the last published version until you publish again.