在露天场所创建的模型在添加文档时不会自动显示

问题描述 投票:-1回答:1

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

alfresco
1个回答
0
投票

您需要在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>

如上所述here

© www.soinside.com 2019 - 2024. All rights reserved.