Negative/Advanced search filtering in AEM assets search form (left rail) | Community
Skip to main content
Adobe Employee
November 28, 2023
Solved

Negative/Advanced search filtering in AEM assets search form (left rail)

  • November 28, 2023
  • 3 replies
  • 1011 views

Is there a way we can add the below updates to the search filter form in AEM assets admin rail search form  . I don't think this is available OOTB but has anyone come across this and if yes, have you handled this on AEM author  :-

  • Search for all assets that 'DO NOT' have a specific metadata property value 
  • or Search for all assets where a specific metadata property is 'BLANK'

Looks like a major customization to search form   ?

 

 

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

@digarg17 

Apparently, there is no feature available OOTB for a "Not" or "Blank" Match, unless you explore Hidden Predicate and use Regular Expression to meet your usecase. 

There would be customization, like the one shared in below blog post:

https://experience-aem.blogspot.com/2019/07/aem-65-assets-search-predicate-to-check-if-metadata-property-exists.html 

3 replies

krati_garg
Adobe Employee
krati_gargAdobe EmployeeAccepted solution
Adobe Employee
November 28, 2023

@digarg17 

Apparently, there is no feature available OOTB for a "Not" or "Blank" Match, unless you explore Hidden Predicate and use Regular Expression to meet your usecase. 

There would be customization, like the one shared in below blog post:

https://experience-aem.blogspot.com/2019/07/aem-65-assets-search-predicate-to-check-if-metadata-property-exists.html 

Adilos-Cantuerk
Community Advisor
Community Advisor
November 28, 2023

Hi digarg, please try to make it happen!
I filed an idea form a while ago that would use the same logic to get the needed results.
It is regarding to the expiration date. Users would like to filter for files that will not expire. 'BLANK' or '=!BLANK'

I would love to see this functionality.
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-ideas/better-options-for-the-expiry-search-filters/idc-p/620578#M1335

kautuk_sahni
Community Manager
Community Manager
December 11, 2023

@digarg17 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni