alfresco-bulk-import
alfresco-bulk-import copied to clipboard
Add "sys:node-uuid" metadata support
Description of Problem: When a document is imported, alfresco checks if the "sys:node-uuid" metadata is present and if it's the case, it creates the new document's nodeRef using the uuid specified in the "sys:node-uuid" metadata.
Unfortunately, this cannot work using your bulk import because the file is first created with only the file name in the properties, so a new nodeRef is generated, then the document is updated with the other properties and the "sys:node-uuid" metadata is ignored.
It would be appreciated if support for the "sys:node-uuid" metadata was added.
For information, we are currently using Alfresco 5.0.3 and alfresco-bulk-import 2.1.0.
Thank you very much!
Hi Laurant - apologies for commenting on a year old commit - but we need to set the sys:node-uuid and the pull request is still open. From the looks of it, the change was a minor one, but just wanted to check your 'quick and dirty' fix worked out ok for you.