7.5.10.1. Adding a version to document

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

Versioning files is done automatically whenever a user overwrites a file. There are many ways in which eXo Platform will help you to create a new document version.

Via Documents application

In the Documents application, there are two ways to create a version for a document. You can go to the folder that you want to create a new document version and try one of the following ways.

The first way

Upload a file (or multiple files) to this folder by using the Upload button on the Action bar or dragging/dropping this file directly from your computer.

The second way

Copy and paste a document (or multiple documents) to a folder which contains a document with the same name.

Via File Upload

There are also two cases that you probably need to create a document version.

The first case

  1. Select the File Upload from the Activity Stream or the top navigation bar.

  2. Upload a file to a folder that contains a document with the same name:

    • If the document is versioned, there will be an alert like this:

      In which, the options Keep Both, Create a new version and Cancel are exactly the same as the Keep Both, Upload new version and Cancel options respectively in this case.

    • If the document is non-versioned, the options will be the same as those in this section:

      Note

      If none of these actions is chosen, the new version of the document is not used and the upload is cancelled.

The second case

  1. Click in CKEditor.

  2. Upload a file to a folder that contains a document with the same name:

    • If the document is versioned, there will be an alert like this:

      In which, the options Keep Both, Create a new version and Cancel are exactly the same as the Keep Both, Upload new version and Cancel options respectively in this case.

    • If the document is non-versioned, the options will be the same as those in this section:

      Note

      If none of these actions is chosen, the new version of the document is not used and the upload is cancelled.

Via the Action bar

The first way

  1. Open a versioned document that you want to create a new version in the Preview Mode.

  2. Click the Upload a new version button on the Action bar.

  3. Select a file to upload. Notice that the uploaded file does not need to have the same name as the versioned document, but it should be the same file type.

    Once the file is selected, a new version with the same name as the current document is automatically created. One success message will be displayed.

The second way

  1. Right-click the versioned document that you want to create a new version.

  2. Select the Create a new version button from the popup menu.

    This will automatically create a new version of the document based on the current version so that you can change the document properties on this version while its content is still kept.

Via WebDAV

It is pretty simple to create a version for a document via WebDAV. You just need to access WebDAV and upload a file to a folder. Several cases will happen as below:

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus