You are here

Out-of-the-box content models

The repository comprises several content models out of the box for specifying the core content types of an ECM system. They are expressed in terms of the content metamodel and provide a set of samples on which to base custom content models.

It's good to know about the existing content models before we start defining our own custom models. There are two main reasons for this. The first reason is that we don't want to define types and aspects that are already available in the out-of-the-box models, such as generic file and folder types. And the second reason is that we don't want to clash with the out of the box models when we define our custom models, meaning we don't want to use the same namespace or prefix that's used by an out-of-the-box model as this will prevent our custom model from deploying.

The following content models are good to know a bit more about then just the namespace and prefix:

Data Dictionary model
The base model upon which all other models depend (located in the file dictionaryModel.xml), the Data Dictionary model provides definitions for the fundamental data types, such as d:text and d:boolean. It exposes the namespace URI with prefix d.
System model
The repository depends on a system model (located in the file systemModel.xml) that provides definitions for types used by the implementation of the repository, such as sys:base, sys:root, and sys:reference. In most cases, it should not be required to refer to definitions in the system model from your own custom models. It exposes the namespace URI with prefix sys.
ECM domain model
The Enterprise Content Management (ECM) domain model (located in the file contentModel.xml) provides definitions for types and aspects, such as cm:folder, cm:content (for files), cm:versionable (aspect for controlling versioning of files), and cm:auditable (aspect with created, creator, modified, modifier info). All server services, protocols, and clients are focused on these types. It exposes the namespace with prefix cm. When you define custom types you extend out-of-the-box types, such as cm:folder and cm:content.
BPM domain model
The Business Process Management (BPM) domain model (located in the file bpmModel.xml) provides definitions for types, such as bpm:package, bpm:task, bpm:workflowTask, and bpm:assignee. All workflow services, protocols, and clients are focused on these types. It exposes the namespace with prefix bpm. These types and aspects are used by the out-of-the-box workflows.

The following list contains the out-of-the-box content model namespaces and prefixes that we must not use when we define our custom content models:

<namespace uri=""                  prefix="abs"/>
<namespace uri=""                              prefix="act"/>
<namespace uri=""           prefix="adobexmp"/>
<namespace uri=""                                  prefix="ai" />
<namespace uri=""                                               prefix="alf"/>
<namespace uri=""                        prefix="alfcmis"/>
<namespace uri=""                         prefix="app"/>
<namespace uri="aps"                                                                   prefix="aps"/>      
<namespace uri=""                               prefix="audio"/>
<namespace uri=""                     prefix="blg"/>
<namespace uri=""                                 prefix="bpm" />
<namespace uri=""                             prefix="cm"/>
<namespace uri=""                           prefix="cmis"/>
<namespace uri=""                             prefix="cmiscustom"/>
<namespace uri=""                        prefix="cmisext"/>
<namespace uri=""               prefix="cmm" />
<namespace uri="custom.model"                                                          prefix="custom"/>
<namespace uri=""                          prefix="d"/>
<namespace uri=""                prefix="da"/>
<namespace uri=""                             prefix="db"/>
<namespace uri=""                                      prefix="dc"/>
<namespace uri=""                            prefix="dl"/>
<namespace uri=""                             prefix="dod"/>
<namespace uri=""                            prefix="download"/>
<namespace uri=""          prefix="dp" />
<namespace uri=""                         prefix="emailserver" />
<namespace uri=""                                prefix="exif"/>
<namespace uri=""                               prefix="fm"/>
<namespace uri=""                          prefix="gd2" />
<namespace uri=""                      prefix="hwf" />
<namespace uri=""                                prefix="ia"/>
<namespace uri=""                                prefix="imap" />
<namespace uri=""           prefix="imwf" />
<namespace uri=""           prefix="inwf" />
<namespace uri=""                           prefix="Iptc4xmpCore"/>
<namespace uri=""                           prefix="Iptc4xmpExt"/>
<namespace uri=""            prefix="iptcxmp"/>
<namespace uri=""                          prefix="lnk"/>
<namespace uri="" prefix="mlsa"/>
<namespace uri=""                            prefix="module" />
<namespace uri=""             prefix="pbcoreModel" />
<namespace uri=""                     prefix="pbcore"/>
<namespace uri=""                                    prefix="photoshop"/>
<namespace uri=""                                    prefix="plus"/>
<namespace uri=""            prefix="plusldf"/>
<namespace uri=""                       prefix="ps"/>
<namespace uri=""                          prefix="pub" />
<namespace uri=""                              prefix="qshare" />
<namespace uri=""                              prefix="qr"/>
<namespace uri=""                   prefix="rc"/>
<namespace uri=""                           prefix="reg" />
<namespace uri=""              prefix="resetpasswordwf" />
<namespace uri=""                   prefix="rma"/>
<namespace uri=""                            prefix="rmc"/>
<namespace uri=""             prefix="rmr"/>
<namespace uri=""                   prefix="rmv"/>
<namespace uri=""                          prefix="rmwf"/>
<namespace uri=""                           prefix="rn"/>
<namespace uri=""                                prefix="rule"/>
<namespace uri=""                                                     prefix="schema" />
<namespace uri=""                 prefix="smf" />
<namespace uri=""                           prefix="srft" />
<namespace uri=""             prefix="srftcustom"/>
<namespace uri=""                                prefix="st"/>
<namespace uri=""                  prefix="stcp"/>
<namespace uri=""                                prefix="surf"/>
<namespace uri=""                                prefix="sync"/>
<namespace uri=""                              prefix="sys" />
<namespace uri=""                            prefix="trx" />
<namespace uri=""                                prefix="usr"/>
<namespace uri=""                        prefix="ver"/>
<namespace uri=""                        prefix="ver2"/>
<namespace uri=""                           prefix="view"/>
<namespace uri=""                              prefix="webdav"/>
<namespace uri=""                            prefix="wf"/>
<namespace uri=""                             prefix="ws" />
<namespace uri=""                                          prefix="xmp"/>
<namespace uri=""                                   prefix="xmpRights"/>

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.