Context aware configuration
I want to use context aware configuration in my aem project. Is there anyway without defining @10922553:configRef property at root level, can we refer configuration at /content level or /content/data level?
I want to use context aware configuration in my aem project. Is there anyway without defining @10922553:configRef property at root level, can we refer configuration at /content level or /content/data level?
Short answer is yes, you can define it at any level. Essentially you can even have different configuration for different hierarchies. You just have to point the sling:configRef to the right location (where your actual CA configs will be available, generally located under /conf).
You may also want to check https://wcm.io/caconfig/ which doesn't come OOB with AEM but provides a good User interface to manage your context aware configurations.
Hope this helps.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.