cancel
Showing results for 
Search instead for 
Did you mean: 

In 3.3,best way to batch upload doc with meta properties?

dhc1980
Champ in-the-making
Champ in-the-making
hi all
what would be the best way of doing batch document uploading to alfresco 3.3 together with meta properties, in a programmatic manner?
I have been trying to use Webdav but i am unable to set the meta data such as author, descriptions fields using proppatch.

any help appreciated.
6 REPLIES 6

dhc1980
Champ in-the-making
Champ in-the-making
Have you seen this?
http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/

http://www.ixxus.com

Thx for the reply tommorris. and yes, i came across the tool mentioned.
However i am not able to find any documentation on how to perform the import. and does it recursively ingest the entire folder? can I set up a cron job or sth?
Can you please point out?

dhc1980
Champ in-the-making
Champ in-the-making
it seems bulk import ver 0.6 is not working with Alfresco 3.3. the following exceptions occurred during initialization.

03:06:02,715  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'LuceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'luceneFullTextSearchIndexer' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.extension.bulkfilesystemimport.webscripts.BulkFilesystemImportWebScript] for bean with name 'webscript.org.alfresco.extension.bulkfilesystemimport.initiate.get' defined in URL [jar:file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-bulk-filesystem-import-0.6.jar!/alfresco/extension/bulk-filesystem-import-web-scripts-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/alfresco/web/scripts/AbstractWebScript
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)

mrogers
Star Contributor
Star Contributor
It needs to be updated to use the spring surf libraries.

ssaravanan
Champ in-the-making
Champ in-the-making
I did try as well, needs to be updated as mrogers referred

hay_sar
Champ in-the-making
Champ in-the-making
Dears

How alfresco uses and binds metadata. And what must we do to integrate a  foreign metadata record?

Haytham