We had discussed about metadata extraction in Alfresco in this article. Now Alfresco support many different type of content types and for each of the content type there will be different set of properties which are specific to those contents.
For Instance all images will have common properties like “width”,”height”,”exposure-time”,” focalLength” etc… (Part of exif aspect in alfresco Model)apart from common or rather basic properties like name, title and description.
For all Emails they have different set of properties like “Addresses”,”subjectline”,”sentdate” (Part of Emailed aspect in Alfresco Model)
Alfresco has metadata extractor specific for each of those content type which could handle this contents and extract properties from those contents and mapped with alfresco model. It works smoothly out of box and you face no issue in that process everything works like charm.
Issue with Bulk Import
Real issue comes up when you try for Bulk import. We had discussed about Alfresco bulk import capabilities in this blog
Cause of Issue:
Main cause of this issue is that Alfresco does not able to invoke that specific metadata-extractor for special types and thus all those special properties will be undetected. When we import individual files it could invoke specific extractor which is bind to such event but in case of bulk import this does not happen.
Solution to Issue:
To resolve that issue one rule needs to be created on space under which you are planning to do bulk import. Rule is simple and out of box all you need to do is follow these steps.
- Start Alfresco server
- Login as admin in alfresco share (http://localhost:8080/share)
- Navigate to the space details under which you want to do bulk import.
- Click on “Manage Rules” link from right hand side action links panel.
- Click on “create” and set action as “Extract common metadata” as shown in figure below.
- Click on create and you are done.
Now if you import zip file with emails or images respective metadata extractor will be invoked in the backend by this new rule and thus all those properties which were not extracted earlier will be extracted automatically at the time of import.
Looking for quality Alfresco Web HostingArvixe Web Hosting!