eXo Platform 3.0

- Prev
- Next

## Chapter 9. Operations With ECM Groovy Templates

The Groove Template file is a combination of HTML code and groovy code blocks. The usage of eXo IDE gives the possibility to create and edit those files in editors.

## Create and Edit Groovy Template

To create a new groovy template, do as follows:

- Step 1: Go to New > Groovy Template on the toolbar;

or Select File > New > Groovy Template on the top menu. The editor will open a new empty file.

- Step 2: Add content and the code will be highlighted.

- Step 3: Save the file selecting File > Save As on the top menu or clicking the Save As icon on the toolbar. With groovy template file Outline Panel and autocomplete, but only in HTML tags by now, can be used.

Illustration 27. Operations with groovy templates

## View properties

To view properties of the groovy template, click the Show Properties button on the right corner of the toolbar.

- Prev
- Up
- Home
- Next