https://github.com/thomashartm/aem-script-console
  
  
    Web based groovyconsole for Adobe AEM which allows to execute scripts in the context of the currently logged in or a service user. 
    https://github.com/thomashartm/aem-script-console
  
aem groovy groovy-scripts java javascript sling touchui
        Last synced: 7 months ago 
        JSON representation
    
Web based groovyconsole for Adobe AEM which allows to execute scripts in the context of the currently logged in or a service user.
- Host: GitHub
- URL: https://github.com/thomashartm/aem-script-console
- Owner: thomashartm
- License: apache-2.0
- Created: 2015-10-06T11:03:44.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-20T09:21:05.000Z (over 6 years ago)
- Last Synced: 2025-02-14T03:17:37.271Z (9 months ago)
- Topics: aem, groovy, groovy-scripts, java, javascript, sling, touchui
- Language: Java
- Homepage:
- Size: 2.92 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 13
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
README
          # AEM  Groovy Script Console

## Groovy Script Editor
With the AEM script console technical and non technical users can easily execute custom groovy scripts in the context of AEM e.g. to fix or migrate content. 

## Script Execution for non technical users
The console supports the execution of stored or submitted groovy scripts. 

Therefore the console has an editor view to define the script and 
a script runner UI that allows to start a stored script without having to deal with an editing interface.

## Supported scripting languages
Currently the groovy scripting language is supported. 
The console comes a number of object bindings:
- resolver
- session
- jackrabbitSession
- pageManager
- bundleContext
- queryBuilder
All bindings use the current user's session or a service user if configured for a script.
The following closure bindings are supported:
- getNode
- getResource
- getPage
## Status
The console is work in progress. The script execution is already working while the forms interface currently work in progress.
## How to build and deploy
Clone the project the enter the project root folder and execute 
```
mvn clean install 
```
To deploy the project just add the autoInstallPackage profile.
```
mvn clean install -PautoInstallPackage
```
## Requirements
AEM 6.3 is required and 6.4 recommended.
## License
The software is licensed under the Apache 2.0 License see the attached LICENSE file or 
http://www.apache.org/licenses/LICENSE-2.0.html for details.