Bulk Import Alfresco 23

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2024 09:24 AM
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.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 02:16 AM
Did you try this approach?
https://github.com/aborroy/auditable-aspect-disable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 07:44 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 09:09 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 01:05 PM
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.
