You are here

Deploying a content model: dynamic approach

When deploying a model, the bootstrap approach places content model XML files into the classpath. The dynamic approach places the files in the repository itself under Data Dictionary/Models.
Alfresco Share provides full access to the repository Data Dictionary folder. Upon creating or uploading a content model XML file, the model, by default, will not be active.

To activate the model:

  1. Load the model file into the folder Data Dictionary/Models.
  2. Click on Edit Properties for the model file.
  3. Select the Model Active checkbox.
  4. Click the Save button to save your changes.

    The model is now active.

To deactivate a model:

  1. Click on Edit Properties for the model file.
  2. Clear the Model Active checkbox.
  3. Click the Save button to save your changes.

    The model is now inactive.

To delete a content model:

  1. Delete the content model XML file.

    Important: There are restrictions on what changes you can make to a content model XML file and when you can delete a content model XML file. Only incremental additions are allowed; that is, changes that do not require modifications to existing data in the repository, or do not modify existing definitions and their properties. You can delete the content model only if it is not used by any data in the repository.

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.