cancel
Showing results for 
Search instead for 
Did you mean: 

API to change objects type

raoul
Champ in-the-making
Champ in-the-making
Hello,

I would like to change objects type  using remote API (like CMIS or REST) but I dont find any documentation about this (on last alfresco community version).

The only solution I found is spying share to get the url used but I would prefer a cleaner solution if it exists.
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
Have you checked these links
http://wiki.alfresco.com/wiki/CMIS
http://ecmarchitect.com/archives/2009/11/23/1094
http://wiki.alfresco.com/wiki/CMIS
I do not think you will face any problem related to version as although alfresco version might have been changed but most of the things are very specific to CMIS and there are not much of the changes related to that.

raoul
Champ in-the-making
Champ in-the-making
Thanks for the links. Unfortunately, I didn't find any usefull information for my problem in them.

I have tried to use the updateProperties method on content objects but as the objectTypeId property has an updatability set to onCreate, it doesn't work.

Nervermind, I will use the share url (/alfresco/service/slingshot/doclib/type/node/{nodeid} if someone has the same problem one day).