CQ5.5 Query Builder: how to get a list of properties | Community
Skip to main content
Level 5
October 16, 2015
Solved

CQ5.5 Query Builder: how to get a list of properties

  • October 16, 2015
  • 1 reply
  • 924 views

I am using CQ5.5 and want to get a list of properties by running a query under the http://localhost:4502/libs/cq/search/content/querydebug.html.

My query:

path=/content/mysites/
p.hits=selective
p.properties=firstName lastName
property=jcr:content/fragment/sling:resourceType
property.value=mysite/components/content/talent/fragment
p.limit=-1

The query returns a list of page links, not the property I specified. 

Does anyone know what's missing in my query? How to get the property value using query builder? Appreciate if you can provide a working example.

 

Thanks.

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 smacdonald2008

Take a look at this community article about predicates  - it may help you:

http://www.wemblog.com/2013/04/how-to-create-custom-query-predicate-in.html

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Take a look at this community article about predicates  - it may help you:

http://www.wemblog.com/2013/04/how-to-create-custom-query-predicate-in.html