如何向 Alfresco 添加新类别(Web 脚本或 Web 服务)?
这是一个很遥远的事情,但我有点被困在这里。 我需要能够向 Alfresco 添加一个新类别(以编程方式)。
我想我应该使用 cm:categoryRoot/cm:generalclassABLE/ 作为父节点,但我不知道如何添加新节点作为类别。
任何帮助都会很棒。
This is a long shot, but 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据官方文档:
可以创建 cm 类型的节点 [...] :category 和子关联类型 cm:subcategories
可以使用以下命令在
/cm:category_root/cm:generalclassabilible/**
树下创建普通cm:category
节点cm:subcategories
关联类型,用于在cm:generalclassfiable
分类下创建新类别。因此,任何节点创建服务都可用于创建新类别。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 thecm:subcategories
association type to create new categories under thecm:generalclassfiable
classification. As such, any node creation service will be available to create new categories.