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

AEM Querybuilder - Ignore case for property name

  • July 8, 2019
  • 3 replies
  • 2653 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
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 8, 2019
Arun Patidar
Level 4
September 23, 2022

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

selvaganesh
Level 5
July 8, 2019

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

arunpatidar
Community Advisor
Community Advisor
July 9, 2019

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

Arun Patidar