Context-Aware Configurations
Hi,
I am doing configuration for my project for the frontend pipeline and I have followed this article - https://www.oshyn.com/blog/context-aware-configurations-aem
Example: in the Config folder we have root folder called my-project, we have created US and INT Sling: Folder Inside that we have created node - sling:configs > com.adobe.cq.wcm.core.components.config.HtmlPageItemsConfig -- In this we are creating some thems example we have created two different theme in each country US and INT.
Next I went to /content/jcr:content here the adding sling:configRef --> we are adding in /content/myproject/jcr:content. -->/config/my-project and /config/my-project/us--> /config/my-project/sling:config/us and /config/my-project/int --> /config/my-project/sling:config/int mapping all config.
now when I open any page under us/en/homepage.html --> all the themes should be loaded in the page --> 4 theme 2 is from US and INT has 2
output: all clientlibs should be loaded on the page.
can anyone help me on this