Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Sling Distribution

prajwalreddy
Level 3
Level 3

Can we use sling distribution to sync content in /content/usergenerated folder across two publishers?

3 Replies
smacdonald2008
Level 10
Level 10

I suggest reading this detailed doc set on this subject -- Apache Sling :: Content Distribution

It states: "The term "distribution" here means the ability of picking one or more resources on a certain Sling instance in order to copy and persist them onto another Sling instance. "

edubey
Level 10
Level 10

You can use sling distribution for content sync across publishers.

but also take a look at ASRP which does not need sync

https://helpx.adobe.com/in/experience-manager/6-3/communities/using/asrp.html

Opkar_Gill
Employee
Employee

While Apache Sling :: Content Distribution (org.apache.sling.distribution) can be used for syncing other types of content, as far as I know Sling Content Distribution(SCD) is for user sync only in AEM.

If you wanted to sync other types of content, then you would have to extend SCD and implement it yourself.

For UGC Adobe moved away from trying to replicate content(i.e. copy) across instances, instead a common store approach is now recommended, which is implemented in Communities. (SRP - Community Content Storage ). If you are not using communities then I suggest to consider implementing the same pattern.

Regards,

Opkar