cancel
Showing results for 
Search instead for 
Did you mean: 

Keep only n versions of document in alfresco

bwilliams
Champ in-the-making
Champ in-the-making

I do not have a need to keep every version of my documents. I would like to limit Alfresco to only saving the last 4 versions of any file. Then completely remove the old files from the system.

I found Keep only n versions of document post but it seems that the AMP Release Alfresco Max Version Policy 0.0.9 · jottley/alfresco-maxversion-policy · GitHub  has not been updated for Alfresco 5.2.e. I don't want to repackage the AMP as some of the comments talk about and run into unexpected problems in the future.

Is there a way to implement this or maybe just a simple script that I can run against the whole database on a frequency that will remove the extra versions?

1 REPLY 1

janv
Employee
Employee

You may wish to add comment (and vote) to [ACE-2228] Allow pruning of version history through API - Alfresco JIRA with details about your use-case.

In the meantime, apart from implementing a custom solution, your best bet might be to help test and improve the AMP. I'm sure Jared will be pleased to hear your feedback.

Regards,

Jan

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.