Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

AEM Querybuilder - Ignore case for property name

Avatar

Level 6

I am trying to search a property name by ignoring a case. Is there any predicate available ?

path=/content/dam/demoProject

type=dam:Asset

property=@jcr:content/data/master/demoProp

property.operation=exists

I want the demoProp to be case insensitive while searching

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Correct answer by
Community Advisor

No OOTB Predicates but you can create own like below:

aem63app-repo/CaseInsensitiveLikePredicate.java at master · arunpatidar02/aem63app-repo · GitHub



Arun Patidar

Avatar

Level 5

Can you show an example where do we need to add this snippet to make it work?

Avatar

Level 6

This works good for property value.  I need for property name

Avatar

Community Advisor

Yes, I know. This is a sample custom predicates, you can refer and create your own based on requirement.



Arun Patidar