cancel
Showing results for 
Search instead for 
Did you mean: 

Upload documents to Alfreco

pdigumarthi
Champ in-the-making
Champ in-the-making
Hi All,

I am very new to alfresco and in our project we have a requirement to upload documents.
to alfresco with some metadata for each document.

1) We should be able to ingest single documents at a time
2) We should be able to ingest multiple documents at a time.

These documents are uploaded using a Custom built UI.

Reading through the wiki I found that they are several ways of doing this like CMIS API , web scripts etc

Could you please explain the possible ways to ingest/upload documents and the best way to do in my case of
uploading from a custom UI
4 REPLIES 4

jpotts
World-Class Innovator
World-Class Innovator
Please use CMIS to do this. Here is a project with some sample code:
https://code.google.com/p/alfresco-api-java-examples/

Jeff

pdigumarthi
Champ in-the-making
Champ in-the-making
Thanks for the response.

qrmavani
Champ in-the-making
Champ in-the-making
Jeff,
I was wondering if there is any bulk upload capability using CMIS or public api, similar to the bulk upload tool that can be used In-Process only? The above file loader example reads files from the local folder, iterates over each file and still uploads it one by one instead of bulk. I am looking for something similar to the programmatic approach mentioned at link https://wiki.alfresco.com/wiki/Bulk_Importer  but using CMIS. Thanks in advance. 

jpotts
World-Class Innovator
World-Class Innovator
I do not know of one. The reason why people prefer to use the Bulk File System Import Tool (BFSIT) is because it is much, much faster than making the network calls over HTTP, which is what you would be doing if you used CMIS.

Still, if performance is not a concern you could always write your own bulk loader using CMIS.

Jeff