You are here

Bootstrapping categories by using XML

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>

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.