如何向 Alfresco 添加新类别(Web 脚本或 Web 服务)?

发布于 2024-10-22 01:07:22 字数 155 浏览 5 评论 0原文

这是一个很遥远的事情,但我有点被困在这里。 我需要能够向 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妄想挽回 2024-10-29 01:07:22

根据官方文档

可以创建 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 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文