Replication of /etc/design/projectname | Community
Skip to main content
viren_pushpanay
Level 2
October 16, 2015
Solved

Replication of /etc/design/projectname

  • October 16, 2015
  • 5 replies
  • 1623 views

Hi,

I want to replication changes that are made on a design_dialog to my publish instance. I wrote a launcher to do the replication but this replicates as soon as there is a change in node. I want to only replicate when the author clicks page activation.

My launcher users the activate content workflow.

Thank you.

Cheers,

Viren.

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 Sham_HC

viren.pushpanayagam wrote...

Thanks Sham for your prompt reply. Why does the design stuff not get replicated when I use page activate? What is the recommended way to replicate design files?

Thank you.

Cheers,

Viren.

 

The frequence of Authoring activity like editing, adding etc...  is continuous  compared to design stuff.   Additionally changes in design stuff impacted all pages and need more testing.    Hence replicate a page just activate a content & its respective assets.   You can customize to activate design also but does not real work in general.   The recommended way to activate design & clientlibs is through packages or miscadmin.

5 replies

Sham_HC
Level 10
October 16, 2015

Hi Viren,

use miscadmin to activate design or package.  If not acceptable you need custom implementation with providing a button below activate page & implementing activation of design.

[1]   http://<host>:<port>/miscadmin#/etc/designs/

Thanks,

Sham

viren_pushpanay
Level 2
October 16, 2015

Thanks Sham for your prompt reply. Why does the design stuff not get replicated when I use page activate? What is the recommended way to replicate design files?

Thank you.

Cheers,

Viren.

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

viren.pushpanayagam wrote...

Thanks Sham for your prompt reply. Why does the design stuff not get replicated when I use page activate? What is the recommended way to replicate design files?

Thank you.

Cheers,

Viren.

 

The frequence of Authoring activity like editing, adding etc...  is continuous  compared to design stuff.   Additionally changes in design stuff impacted all pages and need more testing.    Hence replicate a page just activate a content & its respective assets.   You can customize to activate design also but does not real work in general.   The recommended way to activate design & clientlibs is through packages or miscadmin.

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Viren,

 The process in the OOTB Activate Content workflow will not activate all its dependencies. If you want etc/design also to be published, then you may have to extend the existing service and write a custom logic to publish the nodes under etc/designs when an activation event happens.

 

Thanks,

Lokesh

Adobe Employee
October 16, 2015

Hi,

You might want to take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/reference-providers.html. If you enable the Design Reference Provider, it will prompt authors to publish the design settings when necessary (similar to how referenced assets cause a prompt OOTB).

Regards,

Justin