AEM Run mode | Community
Skip to main content
Level 2
Nov 18, 2022 4:06 PM UTC
Solved

AEM Run mode

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SantoshSai
SantoshSaiAccepted solution
New Participant
Nov 18, 2022 7:52 PM UTC

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

6 replies

Mani_kumar_
New Participant
Nov 18, 2022 8:12 PM UTC

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.

Translate
SantoshSai
SantoshSaiAccepted solution
New Participant
Nov 18, 2022 7:52 PM UTC

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

Translate
Santosh Sai
radhika_kAuthor
Level 2
Nov 18, 2022 8:24 PM UTC

@santoshsai Thanks this worked

Translate
Shubham_borole
New Participant
Nov 18, 2022 7:00 PM UTC

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

 

 

Translate
radhika_kAuthor
Level 2
Nov 18, 2022 7:39 PM UTC

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

Translate
Ravi_Pampana
New Participant
Nov 18, 2022 5:54 PM UTC

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/

 

Translate