cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS - Retrieve documents and folders marked as favorites

dhiogocorrea
Champ in-the-making
Champ in-the-making
Hello,

I'm trying to retrieve the objects that some user marked as favorite using cmis. I searched for queryable properties but I didn't find nothing. There is a way to do that?

thanks!
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

using pure CMIS you can not retrieve documents / folders marked as favorites. But you can use the Public API (hybrid CMIS + ReST) to do this. Please see the document of the Public API in the <a href="https://wiki.alfresco.com/wiki/Alfresco_API#Documentation">Alfresco Wiki</a>.

Regards
Axel

aweber1nj
Champ in-the-making
Champ in-the-making
In 5.0, it looks like the correct REST call is to use the /people/userid/preferences (optionally with a filter for the documents or folders favorites).  The documentation doesn't really make it clear how to add/remove favorites from a user's preferences.  The original, 1.0 API docs that are pointed to in this post (which is a year old, I admit) indicate an explicit "favorites" call, but that doesn't appear to exist anymore.

Thanks for any help or links to samples!

-AJ