Liferay Portal provides a robust script engine for executing Groovy scripts. You can execute scripts to perform maintenance tasks like data cleanup, user maintenance operations, bulk invocations of Liferay’s API, or even system level operations in the scripting console.
These tutorials cover the following scripting topics:
The most common use of the scripting console is to invoke Liferay’s services, so that’s covered first. Familiarity with Liferay’s API makes the scripting console a useful tool.