cancel
Showing results for 
Search instead for 
Did you mean: 

cmis and create a new category

fmarin
Champ in-the-making
Champ in-the-making
Hi

I am migrating an application from rest api to cmis api (on alfresco 5.0).

I need to create new categories … and i don't know how to make it (these categories are extracted from the content of certains documents)

after a lot of search, i don't find anything on this subject : is it possible ? and if it is, how ? (have you a snippet to explicate it ?)

thanks a lot
Fred
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
It may be possible on CMIS 1.1.

I've only listed categories.    I've not heard of anyone creating categories via CMIS.  Part of the problem is that categories need to be stored in the correct store and location - and there's no way to do that via CMIS.   

Its coming back to me now.   I don't think its possible, without an intermediate step like an action or policy.

fmarin
Champ in-the-making
Champ in-the-making
thanks for your response

Effectively, the problem is that category need to be stored in the correct store

I used api restfull with alfresco 4.2 for creating categories and associating these with documents… but i read this api was deprecated in alfresco 5.0 …

What do you think, about intermediate step ?  one action "server side" activated by a rule of the type "creation of document" ?