cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco WebService

fedemori
Champ in-the-making
Champ in-the-making
Hello,
I have to create a connector between a my application and Alfresco.
What is the best connector (the most powerful and safe)? CMIS API, REST?
I would also like to know whether to retrieve documents.
1) save the UUID
2) create a new custom type in which the step as metadata a unique ID, which I'll use to retrieve the document (through Lucene or Solr)

Thanks
1 REPLY 1

marco_altieri
Star Contributor
Star Contributor
Ciao,

The REST API are more flexible because you can extend them writing a simple webscript.
The CMIS API are less flexible, but can be used to develop clients that are "vendor neutral": the same client can access different CMS.

Your second question is not clear.

The unique ID created by Alfresco is not always the enough. For example if you export a folder as an acp and then you import the acp, even in the same repository, the UUID of the nodes will not be the same.
It is always better to associate to the documents an ID that is saved as a custom metadata.