AEM Querybuilder - Ignore case for property name | Community
Skip to main content
selvaganesh
New Participant
July 8, 2019
Solved

AEM Querybuilder - Ignore case for property name

  • July 8, 2019
  • 3 replies
  • 2652 views

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.
Best answer by arunpatidar

No OOTB Predicates but you can create own like below:

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

3 replies

arunpatidar
New Participant
July 9, 2019

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

Arun Patidar
selvaganesh
New Participant
July 8, 2019

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

arunpatidar
arunpatidarAccepted solution
New Participant
July 8, 2019
Arun Patidar
New Participant
September 23, 2022

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