Isai Ulate Sancho Isai Ulate Sancho - 11 months ago 67
Groovy Question

Craftercms: How to access Crafter engine properties in groovy controllers?

Is it possible to access the crafter engine properties (defined in from groovy? As an example: access the property “” ...

So far I have tried accessing the "" bean using the applicationContext object, but I haven't been able to access the configured properties from that bean.

Answer Source

Crafter Engine provides a Groovy variable called globalProperties that you can use to access properties defined in