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
Solved! Go to Solution.
Views
Replies
Total Likes
No OOTB Predicates but you can create own like below:
aem63app-repo/CaseInsensitiveLikePredicate.java at master · arunpatidar02/aem63app-repo · GitHub
No OOTB Predicates but you can create own like below:
aem63app-repo/CaseInsensitiveLikePredicate.java at master · arunpatidar02/aem63app-repo · GitHub
Can you show an example where do we need to add this snippet to make it work?
Views
Replies
Total Likes
This works good for property value. I need for property name
Views
Replies
Total Likes
Yes, I know. This is a sample custom predicates, you can refer and create your own based on requirement.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies