rep:policy not working with reverse sling content distribution | Community
Skip to main content
New Participant
March 25, 2024

rep:policy not working with reverse sling content distribution

  • March 25, 2024
  • 2 replies
  • 581 views

I am working on sling content distribution. I am able to successfully work on forward (author to publish) and reverse (publish to author) content distribution. 

 

The issue I am facing..when I am creating a custom collection for forward distribution on author environment a rep:policy is also created for that collection in author but when I am able to push the changes to publish environment I do get the newly created custom collection on publish instance but I do not get rep:policy published to publish instance of that collection.

 

When I try to add /content/dam/collections|-.*/rep:policy to Vault Package Builder Factory I get configuration error for the distribution on author environment..does anyone know how to get rep:policy of a collection distributed from author to publish environment or vice-versa? This is on AEMaaCS..

    This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

    2 replies

    Tethich
    New Participant
    November 5, 2024

    Hi@gbaweja 

    Would you be able to share some dummy example on how you achieved sling reverse content distribution on AEMaaCS ?

    gkalyan
    New Participant
    May 28, 2024

    @gbaweja 

     

    This is a known limitation in AEM as a Cloud Service.

     

    You can try a workaround until comes up with a fix for this in Cloud services by explicitly including the rep:policy paths in the distribution configuration.