---
title: Revision History – Restore, Clone, Compare, and Purge Article Revisions in Nodinite
description: Every Save of a Nodinite Article stores a revision. See the History card, compare and restore an earlier revision, clone a new document from a revision, spot Document Profile changes, and purge old revisions in bulk.
---

# :fa-clock-rotate-left: Revision History

:new7.12:

Edit an [Article][Articles] with confidence. Every time you click **Save**, :Nodinite: stores a revision of the Article, and so do generators, a Document Profile change, a restore, and [Replace content][Replace Content], so a mistaken edit, a rewrite you regret, or a [Document Profile][Document Profiles] change is always one click away from being undone.

* ✅ Every Save, and every Replace, stores a revision, with who made it and when  
* ✅ See at a glance which revisions weren't a plain save: Generated, Profile changed, Restored, or Replaced  
* ✅ Restore an earlier revision from the History card  
* ✅ Start a new document from an old revision, and leave the live one untouched  
* ✅ Compare any revision with another one, side by side  
* ✅ Purge old revisions for many Articles at once when you no longer need them  

![Restore Revision 1 of a Contoso O2C guide from the History card, ending with Revision 4 marked Restored, animated walkthrough (7.12)][10]  
*Animated walkthrough: an [Order-to-Cash demo][] guide restored to its first revision, with the text before the restore kept as a new revision.*  

1. Open the Article in the editor. The **History** card lists its revisions, newest first, here **Revision 3**, **Revision 2** with a **Profile changed** badge, and **Revision 1**, each with user and time.
2. Click **Revision 1**. The [revision dialog](#the-revision-dialog), **1 of 3**, shows Revision 1 against the current text: removed lines red, added lines green.
3. Click **Restore whole document**, and confirm **Restore … from revision 1?** with **Yes**.
4. The editor holds the text of Revision 1.
5. The **History** card now starts with **Revision 4** and a **Restored** badge: the text from before the restore, so the restore can be undone.

## :fa-sitemap: Understanding Revisions

A revision is a stored copy of an Article as it was just before a **Save**, a generator, a restore, or a replace changed it: **Save** stores the text the Article had, then writes your new text. So Revision *n* holds the text as it was before save *n*, and the current text is never a revision of its own. Revisions are kept per Article, numbered from 1 upward, and listed newest first.

<div class="mermaid">
graph LR
  Save[fa:fa-floppy-disk Save]
  Revision[fa:fa-code-branch Revision N]
  History[fa:fa-clock-rotate-left History card]
  Dialog[fa:fa-code-branch Revision dialog]
  Restore[fa:fa-rotate-left Restore]
  Clone[fa:fa-clone Clone from this revision]
  Compare[fa:fa-code-compare Compare side by side]
  Purge[fa:fa-eraser Purge revisions]
  Apply[fa:fa-list-check Apply Document Profile]
  Save -->|"stores"| Revision
  Apply -->|"stores a revision first"| Revision
  Revision -->|"listed in"| History
  History -->|"click a revision"| Dialog
  Dialog --> Restore
  Dialog --> Clone
  Dialog --> Compare
  Purge -->|"removes"| Revision
  style Save fill:#2678BD
  style Apply fill:#2678BD
  style Revision fill:#93d16d
  style History fill:#93d16d
  style Dialog fill:#93d16d
  style Restore fill:#3F827B
  style Clone fill:#3F827B
  style Compare fill:#3F827B
  style Purge fill:#c33d34
</div>

*Blue actions create revisions, green shows where they're kept and opened, teal is what you can do with one revision (restore it, [clone](#clone-from-a-revision) a new document from it, or [compare][Compare Articles] it), and red Purge revisions removes them for good.*

| Part | Where | What it does |
| --- | --- | --- |
| :fa-floppy-disk: **Save** | Article editor | Stores a new revision of the Article |
| :fa-clock-rotate-left: **History** card | Right side of the Article editor | Lists every revision with its number, who saved it, and when; **Compare** in its header opens the [compare tool][Compare Articles] |
| :fa-code-branch: Revision dialog | Opens when you click a revision | Shows what changed since that revision, and offers **Restore**, **Clone from this revision**, **Compare side by side**, and **Delete** |
| :fa-right-left: [Replace content][Replace Content] | **Ctrl+Shift+H**, across documents | :new7.12: Stores a revision with the reason **Replaced** before it changes a document |
| Reason badge | On a revision in the History card | Marks a revision that isn't a plain save: **Generated**, **Profile changed** (with the new profile's name), **Restored**, or **Replaced** |
| :fa-clock-rotate-left: **Revisions** column | [Articles Overview][] | Shows how many revisions an Article has; empty when it has none |
| :fa-eraser: **Purge revisions** | **With Selected** menu on the [Articles Overview][] | Removes revisions for the selected Articles (see [Bulk Actions][]) |

## :fa-clock-rotate-left: The History Card

Open an Article in the editor (**Action** > **Edit** on the [Articles Overview][]) to see its **History** card: the last card on the right, after **Categories**, **Applications**, [Resources][Resources], and the Repository cards. The number in the card header is the number of stored revisions.

![Article editor with the Domains card and below it the History card: three revisions, Revision 2 marked Profile changed, and the Timeline and Compare buttons in its header (7.12)][1]  
*The History card sits below the association cards; **Compare** in its header opens the compare tool.*  

Each entry shows the revision number, the user who saved it, and the date and time. When a save changed the Article's [Document Profile][Document Profiles], the entry has a **Profile changed** badge, and the name of the profile the Article moved to.

![History card with three revisions, Revision 2 marked Profile changed and naming Contoso Integration Runbook (7.12)][2]  
*Revision 2 changed the Document Profile and names the profile the Article moved to.*  

:new7.12: Every revision that isn't a plain save shows its reason as a badge: **Generated** (written by a generator, such as [BizTalk Articles][]), **Profile changed**, **Restored**, or **Replaced** (written by [Replace content][Replace Content] before it changed the document). To undo a replace, restore the revision before it.

![History card with two revisions, both marked Replaced (7.12)][9]  
*Both revisions were written by Replace content.*  

Click **Compare** in the card header to compare this Article with another document, or with one of its own revisions; see [Compare Articles][].

### See the revisions on a timeline

:new7.12: When the Article has revisions, the **History** card has a **Timeline** button. It opens the [Mermaid Rendering][] window with **Timeline** picked: the revisions oldest first, one column per day, each with its reason and author, such as *Revision 2 · Saved · DEV\Administrator*. With more than 30 revisions, the newest 30 show and the title says *the newest 30 of N*. You need the Article's own read rights.

![An Order-to-Cash runbook Article saved twice, the History card's Timeline button, and its two revisions on the day's column, each saved by the Administrator, animated walkthrough (7.12)][11]  
*Animated walkthrough: the History card's **Timeline**.*  

## :fa-code-branch: The Revision Dialog {#the-revision-dialog}

Click a revision in the **History** card to open it. The dialog shows the revision against the Article's current text, with the changes marked inline:

* The header names the revision, with a **Profile changed** badge when that save changed the Document Profile. Use **‹** and **›**, with the counter such as *4 of 6*, to step to the previous or next revision without closing the dialog.  
* The line under the header says when and by whom the revision was written, and the Article's title and Document Profile at that time. It also reminds you how to read the changes: *Removed lines are what the revision has and the current text does not.*  
* A profile-based Article has the tab *Whole document (composed)*, plus one tab per Content Part. A part that the current Document Profile no longer has is marked *(no longer in the profile)*.  

![Revision dialog for Revision 3 of 3 of a free-form Article, with the line about when and by whom it was written, removed lines in red and added lines in green against the current text, and Delete, Compare side by side, Clone from this revision, Restore whole document, and Close in the footer (7.12)][7]  
*The revision dialog: read what changed, then decide what to do with the revision. A free-form Article has no part tabs.*  

| Button | What it does |
| --- | --- |
| **Compare side by side** | Opens the [compare tool][Compare Articles] with this revision on the left and the current text on the right |
| **Clone from this revision** | Creates a new document that starts from this revision; the Article itself is not changed (see [Clone from a Revision](#clone-from-a-revision)) |
| **Restore whole document** | Puts the Article back to this revision; on a Content Part tab, you can restore just that part |
| **Delete** | Removes this one revision |

### Restore a Revision

Choose **Restore whole document** to put the Article back to the revision. Use it to undo an edit, or to bring an Article back to how it looked before a Document Profile was applied. The Article's text before the restore is stored as a revision too, so a restore can itself be undone.

>[!TIP]
>Applying a Document Profile to many Articles at once has no bulk undo, but it stores a revision of each Article first. Restore any Article you want back from its History card, one Article at a time. See [Apply Document Profile][Bulk Actions - Apply Document Profile].

### Clone from a Revision {#clone-from-a-revision}

:new7.12: Sometimes an old revision reads better than what the Article became, but you don't want to overwrite the live Article. **Clone from this revision** creates a **new** document of the same kind that starts from the revision's text, and leaves the source untouched.

1. Open the revision from the **History** card, and click **Clone from this revision**.  
2. The **Clone Article from Revision N: &lt;title&gt;** dialog suggests the name *&lt;title&gt; (from Revision N)*. Change the **Name** if you like; it must be free. The line under it says which revision the new document starts from, when it was written, and by whom.  
3. Tick **Copy the history up to this revision** to give the new document revisions 1 to N of the source, with their original authors and times. It's off by default, so the new document starts with an empty **History** card.  
4. Click **Duplicate**. The new document opens in the editor.  

![Clone Article from Revision 3 dialog with the suggested name ending in from Revision 3, the Starts from Revision 3 line, and the Copy the history up to this revision check box unticked (7.12)][8]  
*Copy the history is off by default; leave it off for a clean start, or tick it to keep the story of how the text came about.*  

The new document gets:

* the revision's [Main Body][], and each Content Part that the source's **current** [Document Profile][Document Profiles] still has. Parts the profile no longer has are skipped, and the result lists them, as for a restore.  
* the Document Profile, [Tags][], [Custom Metadata][], and the links to Resources, Applications, and Categories, and to [Systems][], [Services][], [Integrations][], [Contracts][], [Message Types][], [Endpoints][], and [Domains][]. Links to C4 nodes and boundaries are not copied.  
* a **Cloned from** relation to the source Article, and an audit line that names the source, the revision, and how many revisions were copied.  

**Clone from this revision** needs **Create** on Articles in the [Permission Set for the Repository Model][Permission Set], and works for Articles, [Snippets][], and [Templates][]. :new7.12: Because the copy keeps the links, it also needs the right to see every entity the document is linked to; otherwise nothing is created and the dialog names the kinds you can't see. See [Clone a Document][] for the rights per kind. It isn't offered for a Document Profile, whose revisions hold its structure only.

## :fa-list: Revisions in the Articles Overview

The **Revisions** column on the [Articles Overview][] shows the number of revisions next to a :fa-clock-rotate-left: history icon, so you can see which Articles have history without opening them. The column is empty for an Article without revisions.

![Administration Articles list of Contoso O2C Articles with Include deleted ticked, three Available and two Deleted, and the Revisions column showing 1 and 2 on two rows (7.12)][3]  
*Revision counts in the Articles Overview; Articles without a number have no stored revisions.*  

## :fa-eraser: Purge Revisions

Revisions take up storage. When you no longer need the history of some Articles, select them on the [Articles Overview][] and choose **With Selected** > **Purge revisions**. The number on the menu item is the number of selected Articles, not the number of revisions.

![With Selected menu for three available and two deleted Articles, showing Purge revisions (5) (7.12)][4]  
*Purge revisions counts the selected Articles whose history it removes.*  

To purge a single Article, choose **Purge Revisions** in its **Action** menu on the [Articles Overview][]; there the number is the Article's own revision count.

Choose what to remove, then click **Purge**:

| Option | Result |
| --- | --- |
| **Remove all revisions** | Every revision of the selected Articles is removed |
| **Keep the newest** | Every revision except the newest is removed |

![Purge revisions dialog to remove the history of 3 selected Articles, with Remove all revisions and Keep the newest, and a This cannot be undone warning (7.12)][5]  
*The Articles themselves don't change; only their history is removed.*  

The result lists every selected Article and how many revisions were removed from it. An Article without revisions is still listed, with *Removed 0 revisions*.  
![Purge revisions Articles result saying 3 Articles purged of revisions, with Removed 3, 1, and 2 revisions per Article (7.12)][6]  
*Every selected Article is counted as purged, with the number of revisions removed from it.*  

>[!WARNING]
>Purging can't be undone. Removed revisions can no longer be compared or restored. The Articles themselves are not changed.

## :fa-hand-point-right: Next Steps

* :fa-code-compare: [Compare Articles][] – Compare two revisions or two documents side by side  
* :fa-list-check: [Bulk Actions][] – Purge revisions, delete, restore, tag, and apply a Document Profile to many Articles at once  
* :fa-newspaper: [Add or manage Article][]  

## :fa-link-horizontal: Related Topics

* :fa-newspaper: [Knowledge base Articles][Articles]  
* :fa-list-check: [Document Profiles][]  
* :fa-file-pen: [Writing a Profile-Based Article][]  
* :fa-list: [Articles Overview][]  
* :fa-trash-can: [Show deleted records][Show Deleted]  
* :fa-route: [Move many Articles onto a Document Profile at once — with a revision saved first][Move many Articles onto a Document Profile at once]  
* :fa-arrows-rotate: [Keep the Documentation Current][Keep the Documentation Current]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/EditArticle_WithResource.png
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/Revisions_Example.png
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/Overview.png
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/Overview_WithSelected_PurgeRevisionsMenuItem.png
[5]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/PurgeRevisions_Options.png
[6]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/PurgeRevisions_Result.png
[7]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/RevisionDialog.png
[8]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/RevisionDialog_CloneFromRevision.png
[9]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/RevisionHistory_Replaced.png
[10]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/Articles_RevisionHistory.gif
[11]:{ndm}/Documentation%20Pictures/IM/Mapify/Mermaid_Timeline.gif

[Add or manage Article]:{ndr}/Getting%20Started/4.%20Repository/Articles/Add%20or%20manage%20Article.md
[Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[Articles Overview]:{ndr}/Getting%20Started/4.%20Repository/Articles/Overview.md
[BizTalk Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/Overview.md
[Bulk Actions]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Bulk%20Actions.md
[Bulk Actions - Apply Document Profile]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Bulk%20Actions.md#fa-list-check-apply-document-profile
[Clone a Document]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Clone%20and%20Shipped%20Documents.md#clone-a-document
[Compare Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Compare%20Articles.md
[Contracts]:{ndr}/Getting%20Started/4.%20Repository/Contracts/Overview.md
[Custom Metadata]:{ndr}/Repository%20Model/Custom%20Metadata/Overview.md
[Document Profiles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Document%20Profiles.md
[Domains]:{ndr}/Repository%20Model/Domains/Overview.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.md
[Keep the Documentation Current]:{ndr}/Getting%20Started/4.%20Repository/Documentation%20Strategy/Keep%20the%20Documentation%20Current.md
[Main Body]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Writing%20a%20Profile-Based%20Article.md#fa-pen-writing-the-content-parts
[Mermaid Rendering]:{ndr}/Mapify/Features/Mermaid%20Rendering.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Move many Articles onto a Document Profile at once]:{ndr}/Getting%20Started/Scenarios/Consistent%20documentation/Move%20many%20Articles%20onto%20a%20Document%20Profile%20at%20once.md
[Order-to-Cash demo]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/Generate-O2C-Demo-Data.md
[Permission Set]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20the%20Repository%20Model.md
[Replace Content]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Replace%20Content.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[Show Deleted]:{ndr}/Administration/6.%20Tools/Show%20deleted%20records.md
[Snippets]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Snippets.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[Tags]:{ndr}/Administration/4.%20Customize/5.%20Tags/Features/What%20is%20a%20Tag.md
[Templates]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Templates.md
[Writing a Profile-Based Article]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Writing%20a%20Profile-Based%20Article.md