【发布时间】:2014-02-12 07:33:03
【问题描述】:
我在 Alfresco 中定义了一个新类型,其中包含一个强制方面 zhx:rm,它定义了一个属性 zhx:taskNo。
我创建了一个这种类型的文档,并设置了它的zhx:taskNo 值。
使用 OpenCMIS Workbench 0.10.0,我打开了这个文档的属性。
问题: zhx:taskNo 未显示。
我做错了吗?
这是 Alfresco 的预期行为吗?
虽然 CMIS 扩展可能是一种解决方案,但我不想使用它们,因为它会使代码更难管理。
<types>
<type name="zhx:rm">
<title>RM</title>
<parent>cm:content</parent>
<mandatory-aspects>
<aspect>zhx:rmAspect</aspect>
</mandatory-aspects>
</type>
</types>
<aspects>
<aspect name="zhx:rmAspect">
<title>RM Aspect</title>
<properties>
<property name="zhx:taskNo">
<type>d:text</type>
<index enabled="true">
<atomic>true</atomic>
<stored>true</stored>
<tokenized>both</tokenized>
</index>
</property>
</properties>
</aspect>
</aspects>
【问题讨论】:
标签: alfresco cmis opencmis cmis-workbench