O'Reilly logo

Alfresco 3 Business Solutions by Martin Bergljung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Defining a new custom content model

In the previous chapter, we designed the folder specifications needed for the Best Money project. During this design process, we also extracted the properties that were needed for the different types. So, we have the required input to be able to create the custom content model for Best Money.

The model definition

When defining a new model, we always start by specifying the model name and what namespace should be used for the model and what other namespaces we are going to need (to do this in the content-model.xml file located in the chapter_7_Code\bestmoney\ alf_extensions\trunk\_alfresco\config\alfresco\module\com_bestmoney_module_cms\model directory):

<?xml version="1.0" encoding="UTF-8"?> <model name="bmc:contentModel" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required