Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

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

Avatar

Employee

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   ?

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@digarg 

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-prop... 

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

@digarg 

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-prop... 

Avatar

Level 7

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-t...

Avatar

Administrator

@digarg 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