Bootstrapping Categories - Bootstrapping Categories - Alfresco - Alfresco Content Services - Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/In-Process-Platform-Extension-Points/Bootstrapping-Content/Description/Bootstrapping-Categories - 23.4 - 23.4

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License
ft:lastPublication
2026-04-22T22:35:19.567073
ft:locale
en-US

Categories can be bootstrapped by using an XML file.

Your categories bootstrap XML file must contain only cm:generalclassifiable categories. An example of the XML file is provided as follows:

<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
    xmlns:sys="http://www.alfresco.org/model/system/1.0"
    xmlns:cm="http://www.alfresco.org/model/content/1.0">
  
  <cm:category>
    <cm:name>Your Root Category</cm:name>
    <cm:subcategories>
      <cm:category>
        <cm:name>Your Parent Category</cm:name>
        <cm:subcategories>
          <cm:category>
            <cm:name>Your Child Category</cm:name>
          </cm:category>
        </cm:subcategories>
      </cm:category>
    </cm:subcategories>
  </cm:category>
</view:view>