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.
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" ...