Access Application constants from JavaScript

2
Is there any way to access application constants from javascript present in themes
asked
2 answers
2

You can make a Microflow and call that from Javascript. In Java you can retrieve constants dynamic with Core.getConfiguration().getConstantValue(key)

answered
0

No, for security reasons this is not supported. (Constants often contain integration urls, passwords etc)

answered