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?
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.