如何向Alfresco添加新类别(webscript或webservice)?

时间:2011-03-15 10:40:35

标签: web-services alfresco

这是一个很长的镜头,但我有点被困在这里。 我需要能够向Alfresco添加一个新类别(以编程方式)。

我想我应该使用cm:categoryRoot/cm:generalclassifiable/作为父级,但我不知道如何将新节点添加为类别。

任何帮助都会很棒。

1 个答案:

答案 0 :(得分:2)

根据official documentation

Nodes can be created [...] of type cm:category and child association type cm:subcategories

可以使用cm:category关联类型在/cm:category_root/cm:generalclassifiable/**树下创建正常cm:subcategories个节点,以在cm:generalclassfiable分类下创建新类别。因此,任何节点创建服务都可用于创建新类别。