You are here

Classification API

The classification object provides read access to classifications and root categories.

Classification object

The following are Classification object properties:

Property Description
allClassificationAspects Returns a list of QName objects of all classification aspects.


The following example displays the available classification types and top level category nodes:

<#list classification.allClassificationAspects as a>

The preceding code snippet would return output such as the following:


The following code snippet:

<#list classification.getRootCategories("cm:taggable") as n>


Would produce output similar to the following:


The preceding output represents a list of tags available in the system that have been defined by the users.

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.