Reputation: 576
I have a configuration, which has different property values for different run modes of my AEM. And, I have multiple sling:OsgiConfig under different folders in my CRX repository, like config.author
, config.publish
. So if I want to change that configuration through the web console, I can see only one configuration, so, if I am changing that configuration, how will i be able to know that I changed which run mode specific configuration file?
Upvotes: 0
Views: 1494
Reputation: 576
What I understood from various links on web, is that-
I changed the configuration A from the webconsole-
sling:OsgiConfig
is created in the repository inside the /apps/{somewhere} and generelly this {somewhere}
is /system/config
/libs/foo/foundation/config
then, your configs are saved in the folder /apps/foo/foundation/config
or gets overwritten in the same location*.config
file inside /crx-quickstart/launchpad/config
And, the configuration settings changed through web console are applied to the current run mode, irrespective of the current run mode, or the location of the config settings.
Upvotes: 1
Reputation: 1454
As Thomas wrote, the changes you do in WebConsole are not applied to existing sling:OsgiConfig
nodes in CRXDE, instead, they are written into separate text files. These configurations are not run mode specific.
It means, that they will be applied under any run mode you start your AEM instance, until there will be config for this component under /libs
or /apps
(which have higher priority).
More on this topic, you can find there.
Upvotes: 2