AEM Workflow to push content from one server to another server

Avatar

Avatar

preethamk694748

Avatar

preethamk694748

preethamk694748

20-01-2018

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K
Jörg_Hoh
Employee

21-01-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

Answers (3)

Answers (3)

Avatar

Avatar

edubey

Avatar

edubey

edubey

21-01-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/javado...

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

23-01-2018

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

Avatar

Avatar

preethamk694748

Avatar

preethamk694748

preethamk694748

21-01-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?