Web Content Display Web Content Display


Liferay Scripting Helper

Liferay Application IconApplication Description

Liferay Scripting Helper is an improved interface to scripting in Liferay. It features a codemirror editor, error trace reporting and an ability to save/load scripts and import/export them as zip files.

Administrators will see a "Scripting Helper" portlet in the Server area of the Control Panel in 6.1. They will see the portlet in the Apps section of the Control Panel in 6.2. Other users can also be assigned permissions to see the Scripting Helper Portlet.

Scripting Helper Portlet
Scripting Helper Portlet

The user can run the script, see any script output or script error traces, save the script, save/load a script, export the saved scripts as a zip file, and import it into another Liferay installation.

The codemirror library is utilized as an editor, and supports a range of languages and editor themes.

Plugin Security

This app will be released as a Marketplace application without Plugin Security enabled.

While we have provided a list of plugin security entries to run the basic scripting helper, the administrator would need to add additional entries for any script functions/services that might be called. As such, the scripting helper is not really helpful unless it can be installed without plugin security.

Support for Liferay 6.1 GA 1 (6.1.0, 6.1.10)

The source code supports Liferay 6.1 GA1 but needs to be recompiled with those libraries, due to a method signature change in ScriptingUtil. Check out the source from the GitHub project, and in the pom.xml, change liferay.version to 6.1.0, and rebuild the project. The resultant WAR can be deployed to a Liferay 6.1 GA1 instance.


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.

Project Team


Supported Versions:

  • Liferay Portal 6.1 CE GA2 (6.1.1)
  • Liferay Portal 6.1 EE GA2 (6.1.20)
  • Liferay Portal 6.1 CE GA3 (6.1.2)
  • Liferay Portal 6.1 EE GA3 (6.1.30)
  • Liferay Portal 6.2 CE GA1 (6.2.0)
  • Liferay Portal 6.2 EE GA1 (6.2.10)