Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

AEM asset query for replication status.

Avatar

Level 2

Is there a way to jcr query or sql query all the assets by the replication status? For example something like this.

type=dam:Asset
path=/content/dam
property=replication/isActivated
property.value=true

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You need to use jcr:content/cq:lastReplicationAction property to filter by the replication status

type=dam:Asset
path=/content/dam
property=jcr:content/cq:lastReplicationAction
property.value=Activate

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

You need to use jcr:content/cq:lastReplicationAction property to filter by the replication status

type=dam:Asset
path=/content/dam
property=jcr:content/cq:lastReplicationAction
property.value=Activate