AEM Workflow to push content from one server to another server | Community
Skip to main content
Level 3
January 20, 2018
Solved

AEM Workflow to push content from one server to another server

  • January 20, 2018
  • 4 replies
  • 2537 views

Hi Team,

I need to write a workflow to move the modified content from one server to another server programmatically.

Like if i change a any content in Server  A and if i start a workflow in server A and start my workflow, the modified page should be moved to server B

Any inputs will be helpful.

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 joerghoh

Hi,

let me ask the question, why you would need to copy to another authoring instance. In "traditional" AEM setups that's never the case. So can you elaborate on your requirements?

And technically replication is fine (the author does not care, what role the target system has), but replication has some edge-cases, which doesn't it make suitable for all kinds of "AEM-to-AEM" content transfers. For example, ACLs are not transfered.

kind,

Jörg

4 replies

edubey
Level 10
January 21, 2018

You can configure replication agents for content with user access [0] to specific server

Once that is done, Use replicator API where you can use configure replication agent ( will be defined in ReplicationOptions)[1] in workflow code.

[0] http://aemfaq.blogspot.in/2013/05/how-to-configure-replication-agent-to.html

[1] https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/day/cq/replication/ReplicationOptions.html

Level 3
January 21, 2018

The above link shows replication of content to specific publishers, is there any way to move content from one author to other author,

The requirement is like to move the content from one author to another author

Like i thought of creating package of modified content programatically and installing it to different author through code.

Is this the right approach?

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
January 21, 2018

Hi,

let me ask the question, why you would need to copy to another authoring instance. In "traditional" AEM setups that's never the case. So can you elaborate on your requirements?

And technically replication is fine (the author does not care, what role the target system has), but replication has some edge-cases, which doesn't it make suitable for all kinds of "AEM-to-AEM" content transfers. For example, ACLs are not transfered.

kind,

Jörg

smacdonald2008
Level 10
January 23, 2018

As Joerg points out - moving content to author from author is not a typical use case.