Create a content model - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

You can create new models using the Model Manager.

Note: Field names should not start with a number due to the design of Solr.
  1. Log into Alfresco Share as a user that is a member of the ALFRESCO_MODEL_ADMINISTRATORS permission group and click Admin Tools > Model Manager.
  2. Click Create Model.
  3. Enter the details for the new model:
    1. Enter a namespace for the model. Namespaces provide a way to specify globally unique names for definitions within content models. All custom types, aspects, and properties have names which are made unique across the repository by using a namespace specific to the model. Using namespaces prevents name collisions when the models are shared across repositories. A namespace is composed of a URI and a prefix. Only alphanumeric characters or a URI, for example, http://www.mycompany.com/model/mynamespace/1.0, are allowed. Do not use spaces or special characters.

      The namespace value must be unique within Content Services.

    2. Enter a short prefix for the model. A prefix is an abbreviation for the namespace identifier (URI), which is typically quite long. For example, if the namespace URI is http://example.org/contentmodels and the associated prefix is ex, then the name ex:customtype means that customtype is a name defined within the namespace http://example.org/contentmodels. Only alphanumeric characters, hyphens (-), and underscores (_) are allowed. Do not use spaces.

      The prefix value must be unique within Content Services.

    3. Enter a name for the model. For example, Finance. Only alphanumeric characters, hyphens (-), and underscores (_) are allowed. Do not use spaces or special characters.
    4. Specify an optional author for the model. If you leave this field blank, it will default to the currently signed in user.
    5. Enter an optional description for the model.
  4. Click Create.
A newly created model is set as Inactive, meaning it cannot be used yet. Set the model to active to start using it. For more information, see Manage content models.