AEM Run mode | Adobe Higher Education
Skip to main content
Level 2
November 18, 2022
해결됨

AEM Run mode

  • November 18, 2022
  • 4 답변들
  • 2010 조회

Hi Everyone,

AEM Run modes configurations are not reading correctly after updating them in the configuration, any idea what's going wrong?

Appreciate your help.

이 주제는 답변이 닫혔습니다.
최고의 답변: SantoshSai

Hi @radhika_k ,

When you configure the component configurations manually in the edit dialog  - the AEM creates another configuration node that has priority over pre defined configurations & those configurations are placed in /apps/system/config - it contains properties those you set in edit dialog. Please delete that and verify.

For more details here I have demoed real time scenario through video please go through it: https://www.techinnovia.com/run-modes/

Hope that helps!

Regards,

Santosh

4 답변

Ravi_Pampana
Community Advisor
Community Advisor
November 18, 2022

Hi,

 

There are different ways to setup the runmode to instance, please check below link for the ways and precedence

https://www.aemcq5tutorials.com/tutorials/set-up-run-modes-in-aem/

 

Shubham_borole
Community Advisor
Community Advisor
November 18, 2022

Hello @radhika_k ,

 

What AEM version are you using? For AEM as cloud service, the supported runmodes are dev, stage and prod. If a custom run mode for eg 'sqa' is set, that won't be recognized.

 

If not, can you provide more details on what was attempted and the issue?

 

Please check these out - https://www.aemtutorial.info/2020/07/faq-on-aem-as-cloud-service.html and https://blog.developer.adobe.com/custom-runmodes-on-aem-as-a-cloud-service-79b757f51a6b

 

Thanks

 

 

radhika_k작성자
Level 2
November 18, 2022

@shubham_borole @ravi_pampana Thanks for your response, to add to your question - When configuration are deployed through code base it is not picking up the deployed configuration rather it is picking up the old which we had configured through configuration (/system/console)

Deployment is successfully done double checked everything.

SantoshSai
Community Advisor
Community Advisor
November 18, 2022

Hi @radhika_k ,

When you configure the component configurations manually in the edit dialog  - the AEM creates another configuration node that has priority over pre defined configurations & those configurations are placed in /apps/system/config - it contains properties those you set in edit dialog. Please delete that and verify.

For more details here I have demoed real time scenario through video please go through it: https://www.techinnovia.com/run-modes/

Hope that helps!

Regards,

Santosh

Santosh Sai
radhika_k작성자
Level 2
November 18, 2022

@santoshsai Thanks this worked

Mani_kumar_
Community Advisor
Community Advisor
November 18, 2022

Hi @radhika_k 

Run modes precedence is differ from where they are applied from.

Refer below thread for the same.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/order-of-precedence-of-sling-run-modes/td-p/190562

Hope this is helpful.