Publish and Activate a Template
A template has a working draft and a published version. Generated PDFs always use the published version, so you can edit a live certificate without affecting documents issued in the meantime. Separately, the Active switch controls whether the template can generate PDFs at all.
Prerequisites
- Permission to edit PDF templates.
- Your changes saved with Save Draft in the template editor.
How drafts, publishing, and Active work
| State | What it means | What generated PDFs use |
|---|---|---|
| Draft, never published | A new template. It cannot be switched to Active yet | Nothing; generation is refused while the template is inactive |
| Published | The saved content is the live version | The published version |
| Published with unpublished changes | You saved edits after publishing. A bar at the bottom of the editor reads "Unpublished changes" | The last published version, until you publish again |
| Active | The switch in the header bar is on | Generation allowed |
| Inactive | The switch is off | Generation refused; automations that use this template fail at the Generate PDF step |
On the template list, cards show Published or Draft, and the Filters menu can narrow by Status (Active, Inactive) and Publish Status (Published, Draft).
Steps
Save your changes
Click Save Draft. Publish stays disabled while there are unsaved changes.
Publish
Click Publish in the header bar, or in the unpublished changes bar. GovAssist confirms "Template published successfully". Every PDF generated from now on uses this version.
Turn the template on
Switch the header bar toggle to Active. GovAssist confirms "Template activated successfully". The toggle is disabled until the template has been published at least once; hovering it on an unpublished draft shows "Cannot activate a draft template. Please publish it first."
Edit a live template
Make your changes and click Save Draft. The template stays active and keeps issuing the published version. When the edits are ready, click Publish again.
Throw away unpublished edits if needed
In the unpublished changes bar, click Discard, then Discard Draft in the "Discard Draft Changes?" dialog. The template reverts to the last published version. This cannot be undone.
Retire a template
Switch the toggle to Inactive to stop it generating PDFs without deleting it. Update any automation that uses it to pick a replacement first.
Example
Updating the fee notice on a live Building Permit Certificate:
| Moment | Action | Result |
|---|---|---|
| Monday | Edit the closing paragraph, click Save Draft | Certificates issued Monday still show the old paragraph |
| Tuesday | Supervisor reviews in the editor, clicks Publish | Certificates issued from now on show the new paragraph |
| Later | A typo is introduced and saved but not published | Click Discard; the published version is untouched |
Common mistakes
- Saving and assuming it is live. Saving only updates the draft. Click Publish.
- Publishing but leaving the template Inactive. A new template must also be switched to Active before automations can use it.
- Switching a template to Inactive while automations still point at it. Their Generate PDF step fails. Repoint the automation first.
- Discarding by accident. Discard removes every unpublished change since the last publish.