# Publish a template and manage versions

Check a template on the Review tab, publish it with version notes, compare and restore versions, and learn what new and in-flight envelopes and sign forms use.

Source: https://support.rework.com/article/esign-template-publish-versions

> **In plain words:** A new template is a **draft**. Nobody can send from a draft. **Publishing** freezes a numbered **version** (v1, v2 and so on) that new envelopes and sign forms use. You can keep editing the draft afterwards without disturbing anyone, then publish again to release the changes as the next version. New to these words? See [E-Sign basics](https://support.rework.com/article/esign-basics).

**Where to find it:** E-Sign > left sidebar > **Templates** > open a template > **Open workspace** > the **Review** tab. The version list is on the template page (right side, **Versions**) and in the workspace tab **History**. **Who can use it:** administrators, the template's creator, and managers of the template's sign service. Everyone who can see a template can read its versions.

We finish the Employment contract at Brightwave: Employee (Signer) with a signature and a date, and HR manager (Approver) pre-filled with Linh Tran. See [Create a template step by step](https://support.rework.com/article/esign-create-template).

## What publishing does

- It freezes the name, roles, documents, signing mode, fields and variables into a numbered version that never changes.
  
- It marks that version **Stable**. New envelopes made with **Use template**, new sign forms, and new requests from other Rework apps read the Stable version.
  
- Your draft stays editable. It is the live working copy. If you edit after publishing, the template stays published, but envelopes still use the Stable version until you publish again.
  
- Envelopes already created, and sign forms already created, are never changed by a later publish.
  
- There is no limit on the number of versions.
  

## Publish from the Review tab

This is the way to add notes. Use it for the example.

1. Open the workspace (**Templates** > the template > **Open workspace**, or **Edit** then **Save & place fields**).
   
2. In the left tabs, select **Review**. The top of the tab lists problems, or shows a green "Ready to publish". Click a problem to jump to it.
   
3. Read the block that starts with **First publish** (or "Since v{n}" after the first version). It lists what changed: **Fields**, **Roles**, **Variables**, **Documents**, each with +added, −removed, ~changed counts, and a note such as "name · workflow · email content changed". If nothing changed it says "No changes since the published version." The round-arrow icon ("Refresh diff") reloads it.
   
4. In the box **Version notes (optional)**, type a note for your team, for example `First release for 2027 hires`. It can be up to 500 characters.
   
5. Select **Publish**. If there are errors, the button reads "Fix {n} error to publish" or "Fix {n} errors to publish" and is disabled. Its tooltip says "Fix the errors above first".
   
6. A message "Published v1" appears. The notes box clears. The version is now listed under History.
   

Other ways to publish, both with no note box:

| 
Where

 | 

Button

 | 

When it appears

 |
| --- | --- | --- |
| 

The workspace top bar

 | 

**Publish**

 | 

Always. It saves pending edits, checks for errors, then publishes.

 |
| 

The template page, **Publish** panel

 | 

**Publish** (first time) or **Publish changes** (later)

 | 

When the draft is ahead of the Stable version.

 |

> **Tip:** The Review tab is the only place with a notes box. Use it when you want future teammates to understand why a version exists.

![The Review tab of the workspace: the green "Ready to publish" line](https://storage.googleapis.com/reworkv3-public/success/261015/Vnw6KhhnLmy1nNNbBeHCDmmgO8J2Q6PCETCE0t9TidvX0RhMw1FegYhOhY2gqQr3/img.8N2B601kmi0ZZ8kVU12c5gSK0JXP5oWcZIBrVqEKaS8GyoaY5Y8C233bmpKvMeiD.png)

![Right after publishing: the toast "Published v2"](https://storage.googleapis.com/reworkv3-public/success/261015/8wx890FMewXMzjkwebGHF6BKqra8BSB47vN4yZ5CibKsxI9zD62b4AvJt6xAnBve/img.aQ1SmuCJRatdA4aj0XF3hoqGuNHMfKvOVbWoAXNek2WhSKDa7UYwdFstpjhQYhr1.png)

## What blocks publishing

Publishing is refused when any error is open. Warnings never block.

### Basic checks

| 
Message

 | 

What it means

 | 

What to do

 |
| --- | --- | --- |
| 

"Template not loaded"

 | 

The template data did not load.

 | 

Reload the page.

 |
| 

"Add a document or at least one role before publishing"

 | 

A template with no document also has no role.

 | 

Add a role. See [Placeholders: set up roles, then fill in people](https://support.rework.com/article/esign-template-placeholders).

 |
| 

"Name the template first, click the title to rename it"

 | 

The name is empty or still "Untitled Template".

 | 

Rename it.

 |

### Errors (block publishing)

| 
Message

 | 

What it means

 | 

What to do

 |
| --- | --- | --- |
| 

"A {type} field on page {page} is not assigned to any recipient"

 | 

A field has no role.

 | 

Select it and set **Assign to**.

 |
| 

"A {type} field extends outside page {page}"

 | 

A field sticks out past the page edge.

 | 

Drag it inside the page.

 |
| 

"{name} has no fields to complete"

 | 

A Signer role has nothing to fill. The name is the role's pre-filled name, else its email, else its label.

 | 

Place a field for that role. Approvers and Followers need no fields.

 |

On a template with no document, the third error becomes a warning and you can still publish: "{message}: this template has no documents; fields are placed per envelope".

On the template page the **Publish** panel says "{n} issue blocks publishing" or "{n} issues block publishing", and offers a button **Fix in workspace** (or **Fix in editor** for a template with no document) instead of **Publish**.

### Warnings (do not block)

| 
Message

 | 

What it means

 |
| --- | --- |
| 

"{name} has fields but no signature, initials, or stamp"

 | 

A signer can complete the form without signing. Check that this is what you want.

 |
| 

Key "{key}" on a {type} field has no effect: {type} fields fill from the recipient, not from data

 | 

A key on a signature, initials, stamp, name or email field is ignored.

 |
| 

Key "{key}" is used by {count} fields of different types ({types}): one key means one value; mirrors must share a type

 | 

Fields sharing a key should be the same type.

 |
| 

Key "{key}" is assigned to {n} different recipients: a prefilled value applies to all of them; split the keys if values should differ

 | 

One key on fields of different roles.

 |
| 

"Two fields overlap on page {page}"

 | 

Two fields sit on top of each other.

 |
| 

A {type} field on page {page} kept its old position after the document was replaced: verify its placement

 | 

After you replaced a file, E-Sign could not re-find where this field belongs.

 |
| 

A {type} field was on a page the new file no longer has: it was moved to page {page}; reposition or remove it

 | 

The new file is shorter.

 |
| 

Token {token} (page {n}) refers to unknown role "{role}": add it in Roles or fix the token

 | 

A marker names a role that does not exist. See [Fields, keys and variables in a template](https://support.rework.com/article/esign-template-fields-variables).

 |
| 

Token {token} (page {n}) could not be parsed: check the {{type:role key=…}} grammar

 | 

A marker is typed wrongly.

 |

## Read the versions

On the template page, the right column has a **Versions** block with a count. In the workspace use the **History** tab.

| 
What you see

 | 

What it means

 |
| --- | --- |
| 

**Draft** with "Edited {time}"

 | 

Your working copy, ahead of the last version. Shown when it has unpublished changes.

 |
| 

**v1**, **v2**...

 | 

A published version, with your notes, and "Published {time} by {author}".

 |
| 

**Stable**

 | 

The version that new envelopes and new sign forms use. Hover to read: "New envelopes and sign forms use this snapshot".

 |
| 

"Published (legacy)" chip

 | 

The template was published before versions existed. It works as before until you publish once. Your first edit creates v1 with the note "Initial state (auto-captured)".

 |

Five versions show at once. Select "{n} older versions" to see more, and **Show fewer** to fold.

The chip at the top of the template page reads **Draft**, **Published v1**, or **Published v1** followed by "draft changes" when the draft is ahead.

![The Versions block on the template page: the Draft node](https://storage.googleapis.com/reworkv3-public/success/261015/AXzIKAWe606vI7zWZFmaKmKwNLRNRSLcv9fX2zoq12LWhcrWCPqmzXBOApBVij1g/img.9IFE5Rv2mQymtwYT3r2RqPw9kipySvNe7QgLbifCzy3A4r2NXVLvRATkCGtaGIXC.png)

## Compare a version with the draft

1. On the template page, in **Versions**, select the compare icon on a version. Its tooltip is "Compare v{n} with the current draft". On the **Publish** panel the **Compare** button compares with the Stable version. It appears once a Stable version exists and the draft is ahead.
   
2. A dialog "v{n} → current draft" opens, with the subtitle "What the draft would add, remove, or change if published now". Rows show **Fields**, **Recipients**, **Variables**, **Documents** with +, −, ~ counts, or "no change". A line lists name, workflow or email content changes.
   
3. If both are the same you see "The draft is identical to v{n}. Nothing would change." If the data cannot load: "Could not load the comparison".
   
4. Select **Close**.
   

![The comparison dialog "v6 to current draft"](https://storage.googleapis.com/reworkv3-public/success/261015/kL7envS1GeuOtkGIqBaIpoMPfCpUZN0pXVqZHhIuugyhWs1rC2x0OB3rlbLj2eEN/img.vqn3rYNnhR4u4NHhrOoLURqya4iaLe78q00vu56gw3Qt7JT2jIXvqLT1eMnlCakG.png)

## Restore a version

Restoring copies an older version back into the draft. It does not publish.

1. On the template page, in **Versions**, select the restore icon on a version. Its tooltip is "Restore v{n} into the draft". (Managers only.) In the workspace **History** tab, select the restore icon, and select it again when it asks "Sure?".
   
2. A dialog "Restore v{n} into the draft?" appears.
   
   - If the draft has unpublished changes, it warns: "The draft has unpublished changes. Restoring overwrites them with this version. It cannot be undone. Envelopes already in flight are never affected, and the stable version does not move until you publish again."
     
   - If not: "This copies the version back into the draft. Envelopes already in flight are never affected, and the stable version does not move until you publish again."
     
3. Select **Restore**. The message says "Restored v{n} into the draft".
   
4. Publish again if you want the restored content to go live as a new version.
   

![The dialog "Restore v5 into the draft?" with its warning](https://storage.googleapis.com/reworkv3-public/success/261015/f8nO9yyvBMuFTEqwfch5kQADK3l8x7IPJuhCcF9YSwZFT9rVzDi1OLqbaDJ4RiWN/img.0po4VpZ9AW8oKiJe7yFrrtvm7ZuantwSAwZ2AgLgnljfXaYlOoeXSPLHdDnGhvRQ.png)

Restore copies the name, roles, documents, variables, signing mode and settings. It does not change which version is Stable.

## What uses which version

| 
Who

 | 

Uses

 |
| --- | --- |
| 

A new envelope from **Use template**

 | 

The Stable version. It copies the fields at that moment and never changes afterwards.

 |
| 

An existing envelope

 | 

Its own copy. A later publish does nothing to it.

 |
| 

A sign form

 | 

The Stable version at the moment you create the form, frozen. Later publishes do not change it. To pick up changes, create a new form. See [Sign forms: share one link anyone can sign](https://support.rework.com/article/esign-sign-forms).

 |
| 

A connected app

 | 

Follows one of three channels, shown in the template page as "Stable (v{n})", "Pinned to v{n}" or "Follows draft". See [Prefilled values and connected apps](https://support.rework.com/article/esign-prefill-connected-apps).

 |

## Troubleshooting

| 
Problem

 | 

Why it happens

 | 

What to do

 |
| --- | --- | --- |
| 

**Use template** is greyed out: "Publish the template first"

 | 

The template is still a draft.

 | 

Publish it.

 |
| 

The **Publish** button on the Review tab is disabled

 | 

There are errors, or you have no changes since the published version.

 | 

Fix the errors it lists, or make a change.

 |
| 

I published but my sign form still shows the old fields

 | 

The form froze the version when you created it.

 | 

Create a new form from the template.

 |
| 

I do not see a notes box when I publish

 | 

You used the top bar or the template page.

 | 

Publish from the Review tab.

 |
| 

Restore is missing

 | 

You can read the template but you do not manage it.

 | 

Ask a manager of the sign service.

 |
