- In Eclipse, load customModel.xml into the editor.
Find the type my:doc (the parent custom type). After the
type's associations add the following mandatory aspect:
<mandatory-aspects> <aspect>cm:generalclassifiable</aspect> </mandatory-aspects>
- Right-click the build.xml file in the Eclipse Package Explorer and select to build the JAR containing the model and deploy it.
- You will now need to restart Alfresco in order to pick up the modified model.
- Log back into Share and create a new piece of content. Add the type Whitepaper to the content.
Once the type has been changed click Manage
You will see that the mandatory aspect, Classifiable has been applied by default.