1)按照露天站点上的步骤创建模型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>
如上所述here