I want to add one property inside the aspect in the out of the alfresco content model i.e.applicationModel.xml;we are using alfresco 5.2;
so how to extend this model and add this property inside this aspect?.
<aspect name="app:linked"> <title>Marker aspect to indicate that the node has been linked.</title> </aspect> below property shouldbe addded inside above aspect. <properties> <property name="app:links"> <title>Links:::</title> <type>d:noderef</type> <multiple>true</multiple> </property> </properties>
Hi:
You can create a custom aspect (with your custom property), that inherits the out of the box aspect.
Regards.
--C.
Please review the custom model.
<model name="customlink:applicationmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<published>2018-06-20</published>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/application/1.0" prefix="app"/>
</imports>
<namespaces>
<namespace uri="http://www.ccccc.com/model/xxxxxx-customlink/2.0" prefix="customlink"/>
</namespaces>
<aspects>
<aspect name="customlink:linked">
<parent>app:linked</parent>
<properties>
<property name="customlink:links">
<title>Links</title>
<type>d:noderef</type>
<multiple>true</multiple>
</property>
</properties>
</aspect>
</aspects>
</model>
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.