How to publish/replicate Author's Configuration settings to publish instance? | Community
Skip to main content
Level 3
May 2, 2016
Solved

How to publish/replicate Author's Configuration settings to publish instance?

  • May 2, 2016
  • 4 replies
  • 2160 views

Hello all

I'm curious whether there is an easy way to publish settings from the configuration (/system/console/configMgr) to the publish instance. Right now, I manually go into the setting I want to change and do it for author and then do it for publisher.

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

In your code package, you should have your configurations broken out into

/apps/project/config
/apps/project/config.author
/apps/project/config.publish

at a minimum, when needed.  Obviously if there is a cross-instance configuration, then place it inside of "config" as it will take affect on both author and publish.  For configurations specific to the author instance, place them in "config.author" and for the publish instance "config.publish".

4 replies

leeaslingAccepted solution
Level 8
May 2, 2016

In your code package, you should have your configurations broken out into

/apps/project/config
/apps/project/config.author
/apps/project/config.publish

at a minimum, when needed.  Obviously if there is a cross-instance configuration, then place it inside of "config" as it will take affect on both author and publish.  For configurations specific to the author instance, place them in "config.author" and for the publish instance "config.publish".

Lokesh_Shivalingaiah
Level 10
May 2, 2016

@leeasling has rightly mentioned you can create the config folder based on the run modes. Refer [1] to see how it can be done

[1] http://adobeaemclub.com/osgi-configuration-management-aem/

Tuhin_Ghosh
Level 8
May 3, 2016

Hi squid267,

 

The above answer should solve your question. Please mark this as solved once you are done.

 

Thanks

Tuhin

squid267Author
Level 3
May 3, 2016

Thanks everyone for the help! That was it.