How to create custom Sling content distribution tool for sending JSON from one AEM instance to another? | Community
Skip to main content
November 15, 2023
Solved

How to create custom Sling content distribution tool for sending JSON from one AEM instance to another?

  • November 15, 2023
  • 2 replies
  • 1442 views

I have two AEM instances. I need to use custom Sling Content Distribution for sending JSON file from Instance-1 to Instance-2. Is it possible to implement?

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 Saravanan_Dharmaraj

@serhiiko Is it a one time distribution or you want to set up for regular distribution automatically?

Please check the below modes you can set the SCD 

 

 

See the below blogs too for reference

https://www.bounteous.com/insights/2022/09/15/adobe-experience-manager-distribution-based-publication 

https://www.albinsblog.com/2020/05/sling-content-distribution-sync-use.html

 

2 replies

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
November 16, 2023

@serhiiko Is it a one time distribution or you want to set up for regular distribution automatically?

Please check the below modes you can set the SCD 

 

 

See the below blogs too for reference

https://www.bounteous.com/insights/2022/09/15/adobe-experience-manager-distribution-based-publication 

https://www.albinsblog.com/2020/05/sling-content-distribution-sync-use.html

 

serhiikoAuthor
November 16, 2023

Hi, thanks for answer! 

It should be regular distribution by click or scheduling (we have discussion about it). One tool is packing JSON and I need to push it to second instance for parsing. I've never worked with SCD before. If I understood correctly I need to write custom class for this feature. Right?

Saravanan_Dharmaraj
Community Advisor
Community Advisor
November 16, 2023

@serhiiko Its all configurations, you don't need to write code. 

MarkusBullaAdobe
Adobe Employee
Adobe Employee
November 16, 2023

Hi @serhiiko!

Sling Content Distribution is certainly one way to get content from one AEM instance to another. @saravanan_dharmaraj already outlined good starting points for SCD if you are already clear that this is the optimal approach to solve your business requirements.

 

Depending on your use case, there might also be other options.

  • Is your requirement about JSON files stored as such on the source AEM instance?
  • Or are the JSON files the result of a content export from that instance?
  • Is it AEM content exposed in JSON format (e. g. through model exporter, Content Fragments or similar)?

Providing a bit more context on your business requirement would allow for better recommendations on the right approach here.

 

Hope that helps!