cancel
Showing results for 
Search instead for 
Did you mean: 

Versioning Aspect not applied

maximus007
Champ in-the-making
Champ in-the-making
I am trying to set Alfresco up to automatically version Word and Excel files. I have set up my rule as follows:

Rule conditions:
Item has a mimetype of 'Microsoft Word 2007' 
Item has a mimetype of 'Microsoft Excel 2007' 
Name property matches '*.docx' 
Name property matches '*.doc' 
Name property matches '*.xls' 
Name property matches '*.xlsx' 
Item has a mimetype of 'Microsoft Word' 
Item has a mimetype of 'Microsoft Excel' 

Rule actions:
Add aspect 'Versionable' 

Details:
Type:   Items are created or enter this folder 
Title:   Auto document versioning 
Description:   

Other Options selected:
Apply rule to sub spaces
Run rule in background

Despite the above setup, if I upload a new file to any space, including the root space, the versioning aspect is not applied. I can manually enable it perfectly fine on a per-file basis, but the content rule is never applied.

The versioning aspect is not added whether I upload using CIFS, FTP or the web interface.

Running Alfresco Community 3.3 on Server 2008 R2.
11 REPLIES 11

invictus9
Champ in-the-making
Champ in-the-making
create rule on your mimetype to apply aspect that you like (versionable ) . this works, use only this do not edit model for this.

Pardon me if I've missed something. Can you simplify your rule so that it detects only ONE condition and see if it triggers? If it doesn't, are you able to create ANY rule that triggers based on ONE condition? Are you able to create a rule that triggers on ANY incoming condition and test it with only files of the right kind?

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
I have tested it on pdf files,
also check

Summary   
Item has a mimetype of 'Adobe PDF Docume

and it should work fine.