oo

Using the Script Engine

DXP provides a robust script engine for executing Groovy scripts to maintain your Liferay DXP instance. You can execute scripts to perform maintenance tasks involving data cleanup, user maintenance operations, bulk Liferay API invocations, or even system level operations.

The Script Console executes Groovy scripts and provides context variables, such as the current actionRequest. The Script Console was designed for invoking Liferay Services.

The Script Console is available in the Control Panel. To use the Script Engine, follow these steps:

  1. Log in as an Admin user

  2. Open the Product Menu and navigate to the Control Panel and select ConfigurationServer AdministrationScript.

    The Script Console is a tab within the System Administration menu.

Next Steps