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

Configuration
The Groovy app is installed by the
Groovy module. The
configuration of the browser and detail subapps is typical of any
content app. The console subapp uses the custom subapp class
info.magnolia.module.groovy.console.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 in /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 |
Node types
The Groovy app operates on mgnl:folder and mgnl:content
node types.
Groovy shell scripts
There are several examples of groovy scripts available in our git repository.