添加文档时,在alfresco中创建的模型不会自动显示

添加文档时,在alfresco中创建的模型不会自动显示,alfresco,Alfresco,1) 按照alfresco站点上的步骤创建模型 2) 添加文档(保存之前)时未显示模型。 2) 添加文档时->继续编辑属性->所有属性->未显示的模型。您需要在share-config.xml中注册类型。当您导航到编辑文档的属性时,您可以找到“更改类型”选项,一旦您在所述xml中注册了类型,您就可以看到该类型的下拉列表 <alfresco-config> <config evaluator="string-compare" condition="DocumentLibra

1) 按照alfresco站点上的步骤创建模型 2) 添加文档(保存之前)时未显示模型。
2) 添加文档时->继续编辑属性->所有属性->未显示的模型。

您需要在share-config.xml中注册类型。当您导航到编辑文档的属性时,您可以找到“更改类型”选项,一旦您在所述xml中注册了类型,您就可以看到该类型的下拉列表

<alfresco-config>
   <config evaluator="string-compare" condition="DocumentLibrary">
    <types>
        <type name="cm:content">
            <!-- Custom sub-type added for whitepapers -->
            <subtype name="my:whitepaper" />
        </type>
        <type name="cm:folder">
        </type>
        <type name="trx:transferTarget">
            <subtype name="trx:fileTransferTarget" />
        </type>
    </types>
   </config> 
</alfresco-config>

您具体执行了哪些步骤,遵循了哪些文档?请按照说明创建一个