How to publish/replicate Author's Configuration settings to publish instance? | Adobe Higher Education
Skip to main content
Level 3
May 2, 2016
Répondu

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

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.

Ce sujet a été fermé aux réponses.
Meilleure réponse par 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 commentaires

leeaslingRéponse
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

squid267Auteur
Level 3
May 3, 2016

Thanks everyone for the help! That was it.