AEM Tutorial #53 | Context Aware Configuration in AEM

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ย. 2024

ความคิดเห็น • 44

  • @AEMGeeks
    @AEMGeeks  3 ปีที่แล้ว +7

    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.

    • @naveenrapelly7054
      @naveenrapelly7054 7 หลายเดือนก่อน

      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.

  • @debaldas3703
    @debaldas3703 2 ปีที่แล้ว

    I use to enjoy all AEM GEEKS videos. Superb explanation with example. Great work.

    • @AEMGeeks
      @AEMGeeks  2 ปีที่แล้ว

      Thanks Debal Das

  • @keerthikeerthi8162
    @keerthikeerthi8162 ปีที่แล้ว

    I came here from solr tutorials of aemgeeks. Thanks for sharing.

    • @AEMGeeks
      @AEMGeeks  ปีที่แล้ว +1

      🙏, Keep supporting

  • @Art-ub1sg
    @Art-ub1sg 3 ปีที่แล้ว

    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!

    • @AEMGeeks
      @AEMGeeks  3 ปีที่แล้ว +1

      Thanks Mike😊
      There are good tutorials to come. Keep learning...

  • @rajutn5870
    @rajutn5870 3 ปีที่แล้ว

    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
      @AEMGeeks  3 ปีที่แล้ว +1

      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.

  • @ankitkumarchandel
    @ankitkumarchandel 3 ปีที่แล้ว

    excellent work for AEM guys

  • @ronoroy9008
    @ronoroy9008 3 ปีที่แล้ว +1

    Was waiting for a new video

    • @AEMGeeks
      @AEMGeeks  3 ปีที่แล้ว

      yhhh, These days I am not posting much tutorials. Busy with my work.

    • @ronoroy9008
      @ronoroy9008 3 ปีที่แล้ว +1

      @@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. 😂😂😂

  • @tuilathang97
    @tuilathang97 2 หลายเดือนก่อน

    You're legend siir

  • @hasankhawaja9524
    @hasankhawaja9524 ปีที่แล้ว

    Simple and best explanation :)
    Can we do it for Date Format for different regions?

    • @AEMGeeks
      @AEMGeeks  ปีที่แล้ว

      Could you please add your use case/question in detail.

  • @ganeshbyale5024
    @ganeshbyale5024 2 หลายเดือนก่อน

    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.

  • @somevalue4951
    @somevalue4951 3 ปีที่แล้ว

    Thank you. This video really helped :)

    • @AEMGeeks
      @AEMGeeks  3 ปีที่แล้ว

      Thanks Tushaar Srivastava

  • @yaminikantmahato6806
    @yaminikantmahato6806 3 ปีที่แล้ว

    Good to know CAC👍

    • @AEMGeeks
      @AEMGeeks  3 ปีที่แล้ว +1

      Yes, This is important and very useful in some scenarios.

  • @cheribgh275
    @cheribgh275 10 หลายเดือนก่อน

    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?

  • @kamsdurai
    @kamsdurai ปีที่แล้ว

    Hi..!
    Can we add CA config to template specific pages? I wat add this config only home page template alone. is that possible?
    Thanks

  • @SumanKumar-hx1qi
    @SumanKumar-hx1qi 2 ปีที่แล้ว

    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..

    • @AEMGeeks
      @AEMGeeks  2 ปีที่แล้ว

      Everything should be part of code. This should deploy using code build.

  • @surbhisinghai89
    @surbhisinghai89 ปีที่แล้ว

    How wil we manage this for different runmodes?

  • @mayank7699
    @mayank7699 3 ปีที่แล้ว

    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

    • @AEMGeeks
      @AEMGeeks  3 ปีที่แล้ว +1

      Thanks. I guess miss code commit for this tutorial. Will commit.

    • @yonitdavid6370
      @yonitdavid6370 2 ปีที่แล้ว

      @@AEMGeeks it appears it is still not updated. Would really appreciate the example. Thank you so much!

  • @MegaMittals
    @MegaMittals 3 ปีที่แล้ว

    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.

    • @AEMGeeks
      @AEMGeeks  3 ปีที่แล้ว

      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.

  • @andycharron1569
    @andycharron1569 2 ปีที่แล้ว

    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

    • @AEMGeeks
      @AEMGeeks  2 ปีที่แล้ว +1

      Thanks Andy, May be I forgot to commit that code to git. Will add code to git.

    • @andycharron4966
      @andycharron4966 2 ปีที่แล้ว

      @@AEMGeeks Thx, please let me know when it’s posted

  • @venkateshboddu494
    @venkateshboddu494 3 ปีที่แล้ว

    Will you provide aem training on backend with real time proj

    • @AEMGeeks
      @AEMGeeks  3 ปีที่แล้ว +2

      Not now. But I am planning for future. Will let you know once I decide to start.

  • @sanikesaicharan5995
    @sanikesaicharan5995 3 ปีที่แล้ว

    really cool ! is it kind of i18n i think so

    • @AEMGeeks
      @AEMGeeks  3 ปีที่แล้ว

      You can try to fit this as per need in project. This is very helpful in some cases.

  • @andycharron1569
    @andycharron1569 2 ปีที่แล้ว

    Can you pls post the code for this to the git repo... thx!

    • @AEMGeeks
      @AEMGeeks  2 ปีที่แล้ว

      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.

    • @andycharron1569
      @andycharron1569 2 ปีที่แล้ว

      @@AEMGeeks Thx for that, got it and it's all working, cheers