Retrieve configuration settings from java code | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

use configurationadmin. Look at example at http://www.wemblog.com/2012/10/how-to-work-with-configurations-in-cq.html

2 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015
Adobe Employee
October 16, 2015

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.