Search code examples
intershop

Intershop: Is there a way to read value from properties file in an ISML?


What would be the suggested approach to read property value from properties file in an ISML?


Solution

  • Depends on one where your property file is. If you put it to /staticfiles/cartridge/config: Yes!

    You can access the configuration object from the domain:

    #CurrentDomain:Configuration:String("My.Config.Key")#