我和alfresco Entreprise4.1.1.3一起工作,然后我搬到了5.0.2的社区。
在这次迁移中,我将我的自定义方面的所有配置文件复制到了与Al新鲜to Enterprise4.1.1.3中相同的位置。
我已经将它们设置为在共享UI中可见,并且我可以在共享UI中看到它们。
问题是,当我右键单击站点或文件夹并选择“管理方面”时,我看到方面名称被列出为
未定义(gifapidocument:MyAspect)
我不知道为什么它会以不明确的形式出现。当我单击manage -> add方面时,我会看到名称显示得很正确。
当我试图从我的应用程序中向Alfresco添加一个文档时,它可以工作,但是该文档是添加的,没有任何属性和空方面。
我倾诉的途径是:
./tomcat/shared/classes/alfresco/web-extension
share-config-custom.xml :
<alfresco-config><config><aspects><visible>,中的
<aspect name="gifapidocument:*MyAspect*" />
<alfresco-config><config><forms><form>,i添加:<field-visibility>
<show id="gifapidocument:typeDocumentXXXX" />
</field-visibility>
<field-visibility>
<show id="gifapidocument:idXXXXXXXX" />
</field-visibility>我吐露的另一条路:
./tomcat/shared/classes/alfresco/extension/myApp/model
myAppDocument-model.xml :
<model><aspects>,中的
<aspect name="gifapidocument:*MyAspect*">
<properties>
<property name="gifapidocument:typeDocumentXXXX">
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="gifapidocument:idXXXXXXXX">
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
</aspect>最后:
./tomcat/shared/classes/alfresco/extension/myApp/messages
myApp.properties :
我补充说:
aspect.gifapidocument_*myAspect*=GIF-API-MYAPP-*myAspect*发布于 2020-02-26 10:40:35
你可以通过以下方式检查你的方面:
yourhost/api/-default-/public/alfresco/versions/1/nodes/{{uiid}它显示在这个属性“aspectNames”中:[]在我的例子中,当我单击管理方面时,我看不到共享中的任何东西,但是添加的方面是正确的。
发布于 2020-03-06 12:01:36
星号会不会是以方面的名义?
https://stackoverflow.com/questions/60411672
复制相似问题