The Scripting Helper is an improved interface for administrators to run Groovy scripts in Liferay DXP. It features an editor, error trace reporting and an ability to save/load scripts and import/export them as zip files.
- Liferay DXP 7.3
- Liferay DXP 7.2
- Liferay DXP 7.1
- Liferay DXP 7.0
- Liferay Portal 6.2
- Liferay Portal 6.1
Administrators will see a new Scripting Helper option in the Control Panel menu of Liferay DXP. Other users can also be assigned permissions to see the Scripting Helper.
The Scripting Helper allows you to run a Groovy script, see the output or errors. You can then save multiple scripts and export the saved scripts as a zip file to import into another Liferay installation.
The codemirror library is utilised as the editor and supports a range of languages and editor themes.
Download the Scripting Helper from the Liferay Marketplace.
Copy the file Scripting Helper.lpkg
package to the deploy
folder of your installation.
Step 1. Check out the source from GitHub:
% git clone https://github.com/campfire-digital-services/liferay-scripting-helper.git
Step 2. Build and package the module:
% mvn -U clean package
This will create a package called liferay-scripting-helper-portlet.jar
in the target
tolder.
Note: You will require JDK 8+ and Maven 3.6+.
This application is released under the GNU Public License version 3.0 (GPL). The codemirror library is also included in the package and comes under a MIT-style license.
- Chun Ho - chun.ho@campfire.com.au
- Terry Mueller - terry.mueller@campfire.com.au
- Flavius Daca - flavius.daca@campfire.com.au