AutoBridge

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

StateWhat it meansWhat generated PDFs use
Draft, never publishedA new template. It cannot be switched to Active yetNothing; generation is refused while the template is inactive
PublishedThe saved content is the live versionThe published version
Published with unpublished changesYou saved edits after publishing. A bar at the bottom of the editor reads "Unpublished changes"The last published version, until you publish again
ActiveThe switch in the header bar is onGeneration allowed
InactiveThe switch is offGeneration 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

1

Save your changes

Click Save Draft. Publish stays disabled while there are unsaved changes.

2

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.

3

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."

4

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.

5

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.

6

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:

MomentActionResult
MondayEdit the closing paragraph, click Save DraftCertificates issued Monday still show the old paragraph
TuesdaySupervisor reviews in the editor, clicks PublishCertificates issued from now on show the new paragraph
LaterA typo is introduced and saved but not publishedClick 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.

Related guides