AnsweredAssumed Answered

Custom API for document upload

Question asked by sipapp on Dec 15, 2017
Latest reply on Apr 10, 2018 by cyrose22



I want to develop API in alfresco which will enable to upload documents in Alfresco repository along with custom metadata/properties. My current alfresco version is 5.2.


I found that this can be achieved by either CMIS APIs or REST APIs. Not sure which option is best for below  some sample requirement scenarios:


  1. Upload document with custom metadata/attributes/properties.
  2. Update custom metadata/attributes/properties.
  3. Increment version numbers if new file is uploaded for same document id.
  4. Initiate custom workflow based on document metadata/attributes/properties.
  5. Fetch only document metadata/attributes/properties OR file OR both by document unique id.
  6. Apply custome permissions to enable restricted access.