Hi,
We have a requirement to get list of activated pages with specific component in it.
I got the list of pages with that component by running a query, but unable to add the condition whether the page is activated or not.
So I have below query which is giving list of pages having the component.
path=/content
1_property=sling:resourceType
1_property.value=abc/components/content/htl/headline
p.limit=-1
orderby=path
But I have to accomodate below condition also,
2_property=@jcr:content/cq:lastReplicationAction
2_property.value=Activate
How We can do it.
List of pages with cq:lastReplicationAction = Activate and used headline component in it.