Velocity Playground

Last Updated: Jan 19, 2023
documentation for the dotCMS Content Management System

The Velocity Playground is a developer tool that allows easy previewing, testing and debugging of Velocity code. Introduced in dotCMS version 23.01, the utility can be accessed through the dotCMS admin panel menu, under the Dev Tools group.

Screenshot of the dotCMS Dev Tools tool group containing the Playground tool.

Usage

From the dotCMS back end, visit Dev Tools → Velocity. This opens the following display:

Screenshot of the Velocity Playground screen, with code on the left pane and output on the right.

Enter Velocity code into the left-hand pane and then click the Run Velocity button above. The output will be displayed on the right side.

Total execution time is displayed underneath the output, to assist with optimization.

On this page