Hi amitgupt, I am trying to do a search base on a user input by using property, property.value, and property.operation="like" to check if the property value contains a string provided by the user.I am currently on AEM 5.6.1.Before you jump in to ask me to use fulltext instead of property.value+prope...
Follow up question, if QueryBuilder support xPath function, is it converting QueryBuilder query into xpath? Does that mean if I encounter an error where QueryBuilder is having trouble compiling my query into xpath, I should use xpath directly? Or should I use JCR-SQL2? which one is the most direct w...
While researching my query builder problem, I learned that there are built-in functions that you can wrap around the value of a search result.Here are the two I found:fn:lower-case()fn:upper-case()Is there a complete list of all the built-in function reference that I can use in query builder?
In Query Builder, you can refer to a node's child's property via */@jcr:title or its descendant's property via */*/@jcr:title.So you can create a search for a node, where the node has a given property and its child has a given propertyEx:type=cq:Pageproperty=*/@jcr:titlevalue=Great TitleThis will re...
On the article, it started the project with Maven, POM, Eclipse. However, I would like to do everything within CRX/DE. I don't seems to be able to get the @Reference (Apache Felix SCR annotation) to work if I simply code it in CRX/DE.The "import org.apache.felix.scr.annotations.Reference;" give a co...
Thanks for the link. I found this line on the article:Note:Calling jcrUtils.getRepository() is used from an external Java application. If you are using the JCR API from within an OSGi bundle, do not use this method. For information about using the JCR API from within an OSGi bundle, see Querying Ado...
edubey wrote... These are sightly APIs which were introduced from 6.x onwards. Although there is feature pack of sightly available in 5.6.1 but that is just to see sightly preview and wont support sightly apis completely To get code working you need to use AEM 6+, Check release notes here https://do...