Hi Team,
I'm not sure we are not storing OSGI configurations in node structure it's always saves under launchpad
can you please help me is there a better way to export selected OSGI Configuration from one AEM instance to other?
Thanks,
Koti.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Best way to store environment specific configuration in config folders specific to an environment like below-
/apps/project/config
/apps/project/dev.author.config
/apps/project/dev.publish.config
Environment runmodes needs to be used to create environment specific folders.
In this way your environment specific config will move automatically.
Best way to store environment specific configuration in config folders specific to an environment like below-
/apps/project/config
/apps/project/dev.author.config
/apps/project/dev.publish.config
Environment runmodes needs to be used to create environment specific folders.
In this way your environment specific config will move automatically.
Views
Replies
Total Likes
Views
Replies
Total Likes
Always make sure to have a custom config node for your configurations under your apps. For now the existing one , can you package it ?
Views
Replies
Total Likes
Views
Replies
Total Likes
I am exactly not sure exactly how you are modifying the configurations, because as per my understanding, if you have a config under your apps config folder, then when you modify it via system console, it shud get saved under the same path or else if no specific path is mentioned, it will get saved under system folder. But might be this https://stackoverflow.com/a/42340483 reply might help you in solving your issue .
Also here is the official documentation https://docs.adobe.com/content/help/en/experience-manager-65/deploying/configuring/configuring-osgi.... and it clearly says
"
Hi @KotiSyamala1,
As you mentioned in a comment to @VeenaVikraman, if you update a configuration it is not automatically appearing in your application config.
This is because by default, configurations are saved under /apps/system/config.
Here is an example. My config on a (relatively) fresh AEM 6.5 instance:
And now I if I modify the com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl config as so (enabling code minification):
Now my configs under /apps/system/config are updated:
It's up to you at this point to add the file to your project (under /apps/yoursite/config) and deploy it to AEM.
Hope this helps
A general guideline: It has always been best practice to maintain all OSGI configurations (the ones deviating from the default configuration) in a version control system, typically along side to your code. Because this does prevent situations like yours where you struggle with knowing what you have actually changed in that environment.