Context Aware configuration resolve from child to parent. For example /conf/aemgeeks/us/en/sling:configs/GeeksCAConfig /conf/aemgeeks/us/sling:configs/GeeksCAConfig /conf/aemgeeks/sling:configs/GeeksCAConfig If CA Config does not exist in /conf/aemgeeks/us/en/ then it will look at parent /conf/aemgeeks/us/ it keep looking to parents until it find configuration. Keep in mind, you have added sling:configRef property in content. In some places, I used/speak OSGi config instead of Contex-Aware configuration. Please bare with and assume it is context aware configuration.
Hi @AEMGeeks can we add sling:configRef multiple value by comma separated or multifield and you have added using crx/de there is any other way to add this like page properties can you please help I am stuck with this.
Thanks for the channel and for helping beginners. I am glad that I accidentally found you in a search and is now your fan. I wish you career heights and health!
Thank you very much for your time and spreading knowledge to others, I am fan of your videos. Please keep on posting new stuff.From last couple of weeks I have watched most of your videos , I learned lot of unknown stuff. I am looking for more advanced/ latest AEM features, I am happy to pay if you have any premium content or materials. Your hard work should be paid off.
@@AEMGeeks if you get a vaccation or something..please do a series on AEM headless like graphQL and also react SPA.. anyway thanks for all the effort u saved..going through Adobe Docs. 😂😂😂
I think it needs a new follow up video , please make a video on CAC editor page using which we can get the UI for configuring CAC and we do not need add sling:configRef property also you can have multiple CACs configured for a page.
Hi! Could you explain what is the difference between @ScriptVariable and @SlingObject while injecting resourceResolver and currentPage? And these are used specificily when the adapatable is of type HttpRequest?
Sir, Thank you for the valuable information.! 1 Q. How we move this custom created configuration under 'conf'.. to a publish server., Is it through packaging those paths., and uploading on to publish server.. or any other better way..
Can we use context aware configuration for aem configuration like link checker. Say for one website i want to enable while for another website i dont want to enable link checker.
We have osgi config for link checker. So you can't use as it is. If you are writing something customized to enable link checker, that you can use in ca config. But make sure you have to handle that in your code. out of the box link checker osgi configs can't be use in context aware configuration.
Thx for this. I don't see the code for this (esp. the component, the Java) in your git repo. In the code you show in the video, your interface is GeeksCAConfig but the implementation is CAConfigImpl which doesn't implement GeeksCAConfig but rather CAConfig (which you don't show). Can you pls clarify, thx
Context Aware configuration resolve from child to parent. For example
/conf/aemgeeks/us/en/sling:configs/GeeksCAConfig
/conf/aemgeeks/us/sling:configs/GeeksCAConfig
/conf/aemgeeks/sling:configs/GeeksCAConfig
If CA Config does not exist in /conf/aemgeeks/us/en/ then it will look at parent /conf/aemgeeks/us/
it keep looking to parents until it find configuration. Keep in mind, you have added sling:configRef property in content.
In some places, I used/speak OSGi config instead of Contex-Aware configuration. Please bare with and assume it is context aware configuration.
Hi @AEMGeeks
can we add sling:configRef multiple value by comma separated or multifield and you have added using crx/de there is any other way to add this like page properties can you please help I am stuck with this.
I use to enjoy all AEM GEEKS videos. Superb explanation with example. Great work.
Thanks Debal Das
I came here from solr tutorials of aemgeeks. Thanks for sharing.
🙏, Keep supporting
Thanks for the channel and for helping beginners. I am glad that I accidentally found you in a search and is now your fan. I wish you career heights and health!
Thanks Mike😊
There are good tutorials to come. Keep learning...
Thank you very much for your time and spreading knowledge to others, I am fan of your videos. Please keep on posting new stuff.From last couple of weeks I have watched most of your videos , I learned lot of unknown stuff. I am looking for more advanced/ latest AEM features, I am happy to pay if you have any premium content or materials. Your hard work should be paid off.
Thanks Raju T N,
These days, I am occupied with my work. Will try to post more tutorials once possible. Right now I don't have any premium content.
excellent work for AEM guys
Thanks
Was waiting for a new video
yhhh, These days I am not posting much tutorials. Busy with my work.
@@AEMGeeks if you get a vaccation or something..please do a series on AEM headless like graphQL and also react SPA.. anyway thanks for all the effort u saved..going through Adobe Docs. 😂😂😂
You're legend siir
Simple and best explanation :)
Can we do it for Date Format for different regions?
Could you please add your use case/question in detail.
I think it needs a new follow up video , please make a video on CAC editor page using which we can get the UI for configuring CAC and we do not need add sling:configRef property also you can have multiple CACs configured for a page.
Thank you. This video really helped :)
Thanks Tushaar Srivastava
Good to know CAC👍
Yes, This is important and very useful in some scenarios.
Hi! Could you explain what is the difference between @ScriptVariable and @SlingObject while injecting resourceResolver and currentPage? And these are used specificily when the adapatable is of type HttpRequest?
Hi..!
Can we add CA config to template specific pages? I wat add this config only home page template alone. is that possible?
Thanks
Sir, Thank you for the valuable information.!
1 Q. How we move this custom created configuration under 'conf'.. to a publish server., Is it through packaging those paths., and uploading on to publish server.. or any other better way..
Everything should be part of code. This should deploy using code build.
How wil we manage this for different runmodes?
Thanks for sharing the knowledge . can you plz provide the sample code. I am not able to see in the repo which you have given
Thanks. I guess miss code commit for this tutorial. Will commit.
@@AEMGeeks it appears it is still not updated. Would really appreciate the example. Thank you so much!
Can we use context aware configuration for aem configuration like link checker. Say for one website i want to enable while for another website i dont want to enable link checker.
We have osgi config for link checker. So you can't use as it is. If you are writing something customized to enable link checker, that you can use in ca config. But make sure you have to handle that in your code. out of the box link checker osgi configs can't be use in context aware configuration.
Thx for this. I don't see the code for this (esp. the component, the Java) in your git repo. In the code you show in the video, your interface is GeeksCAConfig but the implementation is CAConfigImpl which doesn't implement GeeksCAConfig but rather CAConfig (which you don't show). Can you pls clarify, thx
Thanks Andy, May be I forgot to commit that code to git. Will add code to git.
@@AEMGeeks Thx, please let me know when it’s posted
Will you provide aem training on backend with real time proj
Not now. But I am planning for future. Will let you know once I decide to start.
really cool ! is it kind of i18n i think so
You can try to fit this as per need in project. This is very helpful in some cases.
Can you pls post the code for this to the git repo... thx!
Andy, I have added backend code. You can add config in /conf folder as I explained in tutorial. Will add if you won't able to add.
@@AEMGeeks Thx for that, got it and it's all working, cheers