Skip to content

keensoft/alfresco-version-by-name

Repository files navigation

Alfresco Version by Name

When uploading files having the same to a folder in Alfresco, the platform renames that new uploaded file (including "-1" and so on counters) and creates a new file.

1: Folder > Test.pdf
2: Upload Test.pdf to Folder
3: Folder > Test.pdf, Test-1.pdf
4: Upload Test.pdf to Folder
5: Folder > Test.pdf, Test-1.pdf, Test-2.pdf
...

This addon provides a behaviour to auto-versioning the existing file with the content of the new one.

1: Folder > Test.pdf
2: Upload Test.pdf to Folder
3: Folder > Test.pdf [1.1]
4: Upload Test.pdf to Folder
5: Folder > Test.pdf [1.2]
...

Video demo available

Demo video

Extra material

How to develop this addon (in Spanish)

Developing in Alfresco

License The plugin is licensed under the LGPL v3.0.

State Current addon release is 1.3.0

Compatibility The current version has been developed using Alfresco 5.0.d and Alfresco SDK 2.1.1, but also runs in Alfresco 5.1.x

From 1.3.0 is also compatible with Alfresco 4.2.x

No original Alfresco resources have been overwritten

Downloading the ready-to-deploy-plugin

The binary distribution is made of one amp file to be deployed in Alfresco as a repo module:

You can install it by using standard Alfresco deployment tools in alfresco.war

Building the artifacts

You can build the artifacts from source code using maven $ mvn clean package

Notes

This addon does not allow the use of the feature with WebDAV.