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

Viewed 162

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

1 Answers

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")#
Related