AEMcs Environment configuration variable does not work in Publish instance | Community
Skip to main content
Level 3
March 15, 2024

AEMcs Environment configuration variable does not work in Publish instance

  • March 15, 2024
  • 1 reply
  • 540 views

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

 

 

 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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
Community Advisor
March 15, 2024

Hi @user70744 ,
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
user70744Author
Level 3
March 15, 2024

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