Dotcontent Viewtool documentation for the dotCMS Content Management System

The dotcontent [Velocity Viewtool](velocity-viewtools) is used to pull individual content items or lists of content from the content repository via Velocity, using [Lucene](content-search-syntax#Lucene) queries.

The following example shows how the dotcontent Viewtool is mapped in the Toolbox.xml file:

    <tool>
        <key>dotcontent</key>
        <scope>request</scope>
        <class>com.dotcms.rendering.velocity.viewtools.content.ContentTool</class>
    </tool>

Javadoc link: ContentTool javadoc