Velocity macros
Velocity is a template engine with its own scripting language, the Velocity Template Language (VTL). The VTL is used in Aeneis in conjunction with the Aeneis API to access, modify, or add functionality to Aeneis objects that are not natively supported.
See also: For general information about the Velocity Template Language, see the Apache documentation at velocity.apache.org/engine/2.3/user-guide.
Note: All options for accessing Aeneis objects can be found in the API folder of your Aeneis installation. To avoid unintentionally modifying or deleting data, we recommend that you acquire knowledge about the meaning and use of each API method.
In Aeneis, you can use velocity macros in the following areas:
-
In the Object renderer component
If you have used a macro at a certain position in these areas, the macro will be executed in the background and the result will be displayed as output. A velocity macro can be composed of text, variables and instructions.
Example: By default, you will receive an automatic email informing you that your account has been locked if you have entered your password incorrectly too many times. In this email, a number of velocity macros are used to match the content from the template to the circumstances:
The template with the corresponding macros is stored in the Content property of the Account Lockout - User Email object: