How to add a new category to Alfresco (webscript or webservice)?
This is a long shot, but开发者_StackOverflow中文版 I'm kind of stuck here. I need to be able to add a new category to Alfresco (programatically).
I suppose I should use cm:categoryRoot/cm:generalclassifiable/
as parent, but I don't know how to add a new node as a category.
Any help would be great.
As per the official documentation:
Nodes can be created [...] of type cm:category and child association type cm:subcategories
Normal cm:category
nodes can be created under the /cm:category_root/cm:generalclassifiable/**
tree using the cm:subcategories
association type to create new categories under the cm:generalclassfiable
classification. As such, any node creation service will be available to create new categories.
精彩评论