Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

New File Version
Last Post 03/09/2012 3:35 PM by Eric Swanzey. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
octopuz
New Member
New Member
Posts:6


--
02/22/2012 9:52 AM
If we upload a new version of a file, where does the old version go? can we keep the record of the old version and how many the new version have been uploaded?
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
02/28/2012 10:01 PM
The old version is kept in storage unless you limited the "nr of versions to keep" (a setting on every document) in which case it might get deleted.

You can see previous versions on the details/properties screen.

The versions are number sequentially, so you can quickly see how many versions have been uploaded in the details/properties screen.

Peter
Eric Swanzey
New Member
New Member
Posts:74


--
03/04/2012 4:13 PM
I changed an installation's "number of versions to keep" from -1 to 1, thinking that old versions of all docs would get deleted but they weren't. Also, looking at an individual document's properties showed that it still had -1 as the version-to-keep value.

Is it true then, that only new items will have the new versions-to-keep value?

I didn't see a script that would revise the versions-to-keep value for existing documents, as well as deleting old versions from the library. Maybe this is part of a scheduled task that has yet to be run?
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/09/2012 12:04 PM
The default is only applied to new entries. If you want to change all of them you'll need to run this in SQL:
UPDATE DMX_Entries Set VersionsToKeep=1

Secondly the only time the "delete old versions" logic runs is when a new version is created. So even if you apply the above hack, you'd still need to wait until content refreshes before you are down to one version per item.

Peter
Eric Swanzey
New Member
New Member
Posts:74


--
03/09/2012 3:35 PM
Thanks Peter for giving me everything I needed to know.
You are not authorized to post a reply.