The 5.7 branch of Magnolia reached End-of-Life on December 31, 2023, as specified in our End-of-life policy. This means the 5.7 branch is no longer maintained or supported. Please upgrade to the latest Magnolia release. By upgrading, you will get the latest release of Magnolia featuring significant improvements to the author and developer experience. For a successful upgrade, please consult our Magnolia 6.2 documentation. If you need help, please contact info@magnolia-cms.com.

The Groovy app is installed by the Groovy module that adds Groovy capabilities to Magnolia. The app is accessible in Dev > Groovy. For more information about using the app see the Groovy module documentation.

 

Configuration

The Groovy app is installed by the Groovy module. The app is based on the content app framework and is a good example of extending the framework. The configuration of the browser and detail subapps are typical of any content app. The console supapp uses a custom subapp class GroovyConsoleSubApp . Permission to access the app is limited to users assigned the scripter role. In addition, the Dev app group that this app belongs to is only available to the superuser role. This is configured in the app launcher layout. The app is configured at /modules/groovy/apps/groovy.

Node name

Value

 
modules


 
groovy


 
apps


 
groovy


 
subapps


 
browser


 
detail


 
console


 
class

info.magnolia.ui.api.app.registry.ConfiguredSubAppDescriptor

 
closable

 false

 
subAppClass

 info.magnolia.module.groovy.console.GroovyConsoleSubApp

 
permissions


 
roles


 
scripter

scripter

 
appClass

info.magnolia.module.groovy.app.GroovyApp

 
class

 info.magnolia.ui.contentapp.ConfiguredContentAppDescriptor

 
icon

 icon-development-app

Workspace

The Groovy app operates on the scripts workspace that stores the Groovy scripts.

Node types

The Groovy app operates on mgnl:folder and mgnl:content node types