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.
Did you try this approach?
https://github.com/aborroy/auditable-aspect-disable
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.
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.
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.