开发者

How to add a new category to Alfresco (webscript or webservice)?

开发者 https://www.devze.com 2023-02-17 09:35 出处:网络
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).

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消