To use scripting support built into dotCMS, you will need to change a configuration property in your dotmarketing-config.properties file:
And grant users access by giving them the role "Scripting User". The scripting engine checks to make sure these are set before executing any scripts.
Note: Because of the power the scripting support gives to a web developer, we could not allow scripting on our publicly accessible demo. If you would like a live demonstration of the scripting support in dotCMS, contact us.