Comments on: AEM Query Builder : Comprehensive Guide http://www.aemcq5tutorials.com/tutorials/aem-query-builder/ Tue, 30 Aug 2022 12:46:38 +0000 hourly 1 https://wordpress.org/?v=6.4.4 By: Sangita http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-172643 Tue, 30 Aug 2022 12:46:38 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-172643 What would be corresponding query builder query for this xpath query

/jcr:root/content/cliffordchance//element(*, cq:PageContent)
[(jcr:contains(@jcr:title,’*’) or jcr:contains(.,’*’)) and (@cq:template=’/apps/cc/templates/people’) and (@role!=’Other’) and @cq:template!=’/apps/cc/templates/internalredirect’]
/(rep:excerpt(.))

]]>
By: Naresh http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-172638 Sun, 24 Jul 2022 00:38:29 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-172638 Hi,

Do we have support for creating search client which runs outside AEM instance? Unlike AEM query using java which requires to be run as a bundle in AEM?
For eg., I want to build a reporting tool which can make API call to use query builder in AEM?

]]>
By: Roberto Baranzini http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-172512 Thu, 05 Mar 2020 16:57:56 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-172512 Is it possible to use QueryBuilder to search through AEM from a .net app?

]]>
By: Nani http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-172510 Fri, 14 Feb 2020 13:16:40 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-172510 Hi,

I have a requirement to get all the list of url contains images.
can I have a example please.

]]>
By: Satish http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-172498 Thu, 23 Jan 2020 08:09:23 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-172498 Hi Ankur,

This is related to Query to check empty property value in jcr. The query is working is not working for the properties cq:tags . Basically I am looking for a query that returns pages has empty value for cq:tags. something like
/jcr:root/content/mysite//*[fn:name() = ‘jcr:content’ and @cq:tags= “”]

Your query is working well for other property . May be colon ‘ : ‘ is creating the issue.
Any though on this.

]]>
By: snayakar http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-64839 Thu, 01 Nov 2018 01:15:42 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-64839 In reply to venkat.

Please use
order by @jcr:title desc

jcr:title should be your product tile

]]>
By: venkat http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-18466 Tue, 06 Mar 2018 00:14:55 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-18466 Very nice article.

How can I use custom ordering?

order by @sling:resourceType=’products’ desc

I want the products to be displayed first then articles etc..

]]>
By: SRK http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-18379 Thu, 01 Mar 2018 21:41:36 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-18379 is there any predicate in query builder to sort the nodes using property type(String, String[]…etc) along with the type predicate ?

]]>
By: Aman Agarwal http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-18257 Fri, 23 Feb 2018 22:03:29 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-18257 In reply to Punith.

If anyone know the answer to this. Kindly reply.

]]>
By: Ankur Ahlawat http://www.aemcq5tutorials.com/tutorials/aem-query-builder/#comment-14019 Fri, 22 Sep 2017 05:00:39 +0000 http://www.aemcq5tutorials.com/?p=2888#comment-14019 In reply to Navrattan Yadav.

Could you please point , where you find typo in tutorial ?

]]>