cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration to keep file date and author

nancygaillard
Champ on-the-rise
Champ on-the-rise
Hello,

I would like to know if it exists a way to allow importation of files within Webdav or Bulk Import and preserving files information like date and author?

I use Alfresco Community 5.0.d on a Windows Server 2008 R2 64bits and 16 Go RAM.
Currently, I have regularly to import a directory of several ten or so gigabytes in Alfresco. The problem is the files are sensitive then it would be interresting to import the modified files only. Without this configuration if it exists, I can't assure a real traceability.

I have found this line and I added it in alfresco-global.properties :
system.enableTimestampPropagation=false


But it seems it doesn't work 😕

I tested all these lines too :

system.enableTimestampPropagation=false
system.auditableData.preserve=true
system.auditableData.FileFolderService=true
system.auditableData.ACLs=true

I tested to create a rule with  Extract Common Metadata keeping the lines in alfresco-global.properties, but it doesn't work.

My best result is to with bulk import and all these configurations, I can keep the original date.
1 REPLY 1

kavilash23
Champ on-the-rise
Champ on-the-rise
Hi,

You need to define a custom metadata extractor context file and point it to a poi mapping properties file  (For e.g
author=cm:author.)

Then you can use a rule which would execute a script with the something like below;
var action = actions.create("extract-metadata");
action.execute(document);