AEM Querybuilder - Ignore case for property name | Community
Skip to main content
selvaganesh
Level 5
Jul 8, 2019 5:22 PM UTC
Solved

AEM Querybuilder - Ignore case for property name

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jul 8, 2019 10:05 PM UTC

No OOTB Predicates but you can create own like below:

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

Arun Patidar

4 replies

arunpatidar
New Participant
Jul 9, 2019 10:00 AM UTC

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

Translate
Arun Patidar
selvaganesh
Level 5
Jul 8, 2019 11:21 PM UTC

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

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Jul 8, 2019 10:05 PM UTC
Arun Patidar
Level 4
Sep 23, 2022 7:41 AM UTC

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

Translate