如何在列表中指定元素名称?

How specify element name in list?

这里是模型和数据列表定义:

<!-- DataLists-->
<type name="sc:contractType">
    <title>Options</title>
    <parent>dl:dataListItem</parent>
    <properties>
        <property name="sc:type">
            <title>Type</title>
            <type>d:text</type>
        </property>
    </properties>
</type>

<!-- workflow model-->
<type name="sc:startProcesstask">
    <parent>bpm:startTask</parent>
    <properties>
        <property name="sc:helloName">
            <type>d:text</type>
            <mandatory>true</mandatory>
            <multiple>false</multiple>
        </property>
    </properties>
   <associations>
       <child-association name="sc:requestCategory"">
           <target>
              <class>sc:contractType</class>
              <mandatory>true</mandatory>
              <many>false</many>
            </target>
        </child-association>
    </associations>
</type>

当我编辑模型并尝试 select 数据列表项值时,我必须:

  1. 浏览整个存储库以查找数据列表项。
  2. 在项目列表中查看 UUID 值而不是 type 属性。

有没有办法让 alfresco 在浏览列表项时显示 type 属性 代替 UUID?

问题是用于选择该子关联目标的默认表单控件不足以满足您的需要。因此,您需要提供替代的自定义表单控件。 docs 使用一个非常简单的示例展示了如何执行此操作。