For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Managing template versions

Template versioning lets you save snapshots of an inventory template over time, compare them, and roll back to an earlier version if needed.

Overview

Every time you save meaningful changes to a template, you can create a revision, a snapshot of the template as it was at that moment. Revisions let you:

  • Keep a history of how a template evolved.

  • Preview what the template looked like at a given point in time.

  • Compare an older revision against the current template.

  • Restore the template to a previous revision.

Creating A Revision

Revisions are created from the template editor.

1

Go to Configuration → Templates.

2

Open the template you want to edit.

3

Make your changes, then click Create a new revision.

This saves a snapshot of the template as it is at that moment. The template remains editable afterward, creating a revision does not lock it.

Viewing Revisions

Next to Create a new revision, a clock-with-arrow icon opens the list of all revisions saved for this template.

The revisions table shows each saved revision along with three actions:

Action
What it does

Preview

Opens the full template as it was in that revision.

Compare

Shows the differences between that revision and the current template - additions, removals, and changes to fields and sections.

Restore

Replaces the current template with that revision.

Configuring How Many Revisions Are Kept

By default, only a limited number of revisions are kept per template. Once that limit is reached, the oldest revision is removed each time a new one is created.

You can change this limit from the general server configuration.

1

Go to Configuration → General configuration → Server.

2

Set Maximum number of template revisions to the value you want.

This setting applies to all templates. Lowering it removes older revisions the next time a new revision is created; it does not delete existing revisions immediately.

Last updated