help.axcms.netAxinom Logo
Save Save Chapter Send Feedback
KB10033: How to reset the version history
How to delete previously created versions of the pages and/or documents if you want to reset the history.

SYMPTOMS

Your AxCMS.net instance was under test operation for some time and now you would like to switch to production, but there are a lot of previous test versions of pages and documents. You would like to reset the history to start from scratch.

CAUSES

AxCMS.net automatically creates a minor version on every change of a page/document and a major version on every publishing. See links provided below for more information about versioning.

SOLUTION

1. Execute these statements in the MS-database:

DELETE FROM dbo.AxVersionHistory
UPDATE dbo.AxPage SET CurrentVersion = 1
UPDATE dbo.AxDocument SET CurrentVersion = 1

2. Delete everything under publish/history and publish/preliminary in the file system.

APPLIES TO

AxCMS.net versions: ver5 and above