cancel
Showing results for 
Search instead for 
Did you mean: 

Bulk Import Alfresco 23

AlfrescoConsult
Champ in-the-making
Champ in-the-making

Hi all;

I'm a new in Alfresco with version 23.0 and I'm using the Bulk Import to import some documents from the old system with alfresco 5. I need to import the documents without any change in metadata properties, but I have a problem, so the bulk import change cm:modified and cm:modifier for each document.

I try to add a trigger to disable a behaviour when add aspect but didn't work.

Please any help for that.

Thanks.

4 REPLIES 4

angelborroy
Community Manager Community Manager
Community Manager

Did you try this approach?

https://github.com/aborroy/auditable-aspect-disable

Hyland Developer Evangelist

Hi, Yes I tried this solution but didn't worked, I remark that when I run my bulk import, it didn t enter in the trigger.

I tried to use auditable instead of templatable but both properties didn't work.

For information, we have our custom alfresco-beneva-platform, so I created a new Trigger called : 

DisableAuditableBehaviour AND I configured it in my moduke-context.xml file.
### DISABLE AUDITABLE BEHAVIOUR
triggering.aspect.qname={http://www.alfresco.org/model/content/1.0}templatable
### DISABLE AUDITABLE BEHAVIOUR
triggering.aspect.qname={http://www.alfresco.org/model/content/1.0}auditable

Try with cm:titled. You need to identify an aspect that is set for every node you create in your Bulk Import.

Or just use the source code an adapt it to your requirement.

Hyland Developer Evangelist

Hi, I tried with cm:titled and got the same problem, cm:modified was modified by the current Datetime and cm:modifier was modified by the current user. I'm using the BUlk import for Alfresco 23, no change in that module. Thanks.