Expand my Community achievements bar.

How to get a specific set of folders from a parent path AEM using AEM query

Avatar

Adobe Champion

Hi ,

 

I have a use case to list all contributions folders(brand portal asset sharing folders) in AEM.

 

I used the below query to a specific folder level and it gave 120 results. But, when I change the folder at a parent level, I don't get any results, may be because of node traversal limit crossed. Is there any other way for me to get  this list rom the parent level by adding more attributes to figure out only the contribution folders?

 

path=/content/dam/ltest-company/team-assets/jjt
type=nt:base
1_property=@jcr:content/folderMetadataSchema
1_property.operation=equals
1_property.value=/conf/global/settings/dam/adminui-extension/foldermetadataschema/brand-portal-folder-metadata-schema
2_property=jcr:primaryType
2_property.1_value=sling:OrderedFolder
2_property.2_value=sling:Folder
p.limit=-1

0 Replies