是否可以在一个新方面添加一个属性来保存来自 Alfresco 用户的用户?
它将用于输入负责/授权具有已定义方面的文档的用户。
最佳答案
问题是您已经定义了同一个字段两次。第一个作为 d:text 属性,第二个是一个关联。
在你定义的模型中
<property name="txm:vacationPerson">
<title>Nom et prénom</title>
<type>d:text</type>
</property>
作为您定义的关联:
<associations>
<association name="txm:vacationPerson">
<title>Assignee</title>
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
因此它将第一个字段呈现为文本,而第二个字段不再呈现。 删除第一个 d:text 属性或重命名它。
关于content-management-system - 添加具有 User 属性的新方面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23345803/