Hi,
We have a huge number of folders in DAM, and larger number of assets in each folder. Is there any way I can search with folder title or name and get that folder as a result.
When I search for a folder, if there are any assets inside that folder i am getting all those assets as a result. But i don't need that i need the result as the folder.
Any help is appreciated.
Thanks,
Kishore.
Solved! Go to Solution.
Views
Replies
Total Likes
you need a custom search, here are the query details:
type=sling:OrderedFolder
path=/content/dam
property=jcr:title
property.value=We.Retail
The corresponding XPath query would be
/jcr:root/content/dam//element(*, sling:OrderedFolder)
[
(@jcr:title = 'We.Retail')
]
This will return only the folders since we searched for type=sling:OrderedFolder only.
Views
Replies
Total Likes
You can use the AEM QUeryBuilder API to perform custom searches.
Views
Replies
Total Likes
you need a custom search, here are the query details:
type=sling:OrderedFolder
path=/content/dam
property=jcr:title
property.value=We.Retail
The corresponding XPath query would be
/jcr:root/content/dam//element(*, sling:OrderedFolder)
[
(@jcr:title = 'We.Retail')
]
This will return only the folders since we searched for type=sling:OrderedFolder only.
Views
Replies
Total Likes
Thanks for your replies. So we don't have any OOTB search rail or something to directly search the folders?
Views
Replies
Total Likes
Thanks everyone. I got AEM 6.4 , which solved my issue.
Views
Replies
Total Likes
Hi Kishore, Can you explain how it got resolved in 6.4 ?
Views
Replies
Total Likes
Extending Assets Search Hey Kishore, Did you do it this way?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies