08-18-2018 10:37 AM
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>
08-18-2018 02:08 PM
Hi:
You can create a custom aspect (with your custom property), that inherits the out of the box aspect.
Regards.
--C.
08-20-2018 01:47 AM
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>
Explore our Alfresco products with the links below. Use labels to filter content by product module.