Problems with metadata extractors
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2008 10:09 AM
Hi,
I have the a problem with the following code in Alfresco 2.1.2.
(custom-metadata-extrators-context.xml file)
If I use a text property it works fine, but if I use a date property it
doesn´t work. This code worked well in Alfresco 2.1.1 but it doesn´t work in
Alfresco 2.1.2. Does anybody know why?
<beans>
<bean id="extracter.PdfDocument"
class="org.alfresco.repo.content.metadata.PdfBoxMetadataExtracter"
parent="baseMetadataExtracter" >
<property name="inheritDefaultMapping">
<value>true</value>
</property>
<property name="mappingProperties">
<props>
<prop
key="namespace.prefix.evoltia">evoltia:modelevoltia</prop>
<prop key="created">evoltia:testDate</prop>
</props>
</property>
</bean>
</beans>
Thanks in advance.
I have the a problem with the following code in Alfresco 2.1.2.
(custom-metadata-extrators-context.xml file)
If I use a text property it works fine, but if I use a date property it
doesn´t work. This code worked well in Alfresco 2.1.1 but it doesn´t work in
Alfresco 2.1.2. Does anybody know why?
<beans>
<bean id="extracter.PdfDocument"
class="org.alfresco.repo.content.metadata.PdfBoxMetadataExtracter"
parent="baseMetadataExtracter" >
<property name="inheritDefaultMapping">
<value>true</value>
</property>
<property name="mappingProperties">
<props>
<prop
key="namespace.prefix.evoltia">evoltia:modelevoltia</prop>
<prop key="created">evoltia:testDate</prop>
</props>
</property>
</bean>
</beans>
Thanks in advance.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2008 05:52 PM
2.1.2 added the ability to configure different formats for dates that are metadata extracted (see http://wiki.alfresco.com/wiki/Metadata_Extraction#Date_Conversions_.28V2.1.2E.29 for details). My guess is that your dates don't match the default date format any longer, but that with a little bit of configuration you should be able to get it working again.
Cheers,
Peter
Cheers,
Peter
