Categories Viewtooldocumentation for the dotCMS Content Management System

The Categories Viewtool provides methods to pull category information and related categories.

The following example shows how the CategoriesWebAPI Viewtool is mapped in the toolbox-xml file:

    <tool>
        <key>categories</key>
        <scope>request</scope>
        <class>com.dotcms.rendering.velocity.viewtools.CategoriesWebAPI</class>
    </tool>

Example

Returns the ….

code example

Javadoc link: CategoriesWebAPI