Expand my Community achievements bar.

AEMcs Environment configuration variable does not work in Publish instance

Avatar

Level 3

Hello Community,

 

We have a situation where we have defined an Environment configuration in cloud manager and using this in the code using osgi configs

 

$[env:AEM_EXTERNALIZER_PUBLISH;default=https://www.xyz.com]",

The service applied for this variable is All which means its applicable for Author, preview and publish

 

arungm20_0-1710503969989.png

 

 This config works fine in Author. Now We deleted this variable and expected that it picks up the default value. unfortunately it did not.

So the published page still shows the old value before we delete

 

Also to mention, page is not served from Cache as i update the page and can see the updated contents

 

Has any one faced similar issue?

 

Thanks

Arun

2 Replies

Avatar

Community Advisor

Hi @arungm20 ,
According to the Adobe doc:

  • They only need to be configured and setup once and can be updated and deleted when necessary.
  • Their values can be updated at any point in time and take effect immediately without the need for any code changes or deployments.

It should be working then as expected.



Arun Patidar

Avatar

Level 3

Thanks @arunpatidar . Yes i expected the same and it does work in Author.

Only problem is with publisher which does not see this update or remove this variable and use the default one

 

Thanks

Arun