Bootstrapping Categories - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external - Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/In-Process-Platform-Extension-Points/Bootstrapping-Content/Description/Bootstrapping-Categories - 2025-06-02

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

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:viewxmlns: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>