Expand my Community achievements bar.

SOLVED

Retrieve configuration settings from java code

Avatar

Level 2

On this site: http://localhost:4502/system/console/configMgr

For the configuration name as Day CQ Analytics SiteCatalyst HTTP Client, I would like to retrieve the "data center url" value from the java code. Is there a way to do it? And how?

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 2

Thanks for Sham for your reply!

I tried your code and get the configuration returned. But conf.getProperties() returns null. I checked the jcr and didn't see this config anywhere. Here is a sceenshot on the setting that I would like to get [img]Screen Shot 2013-12-19 at 10.15.19 AM.jpg[/img]. Please let me know how I am supposed to do to get that info.