I'm working on creating a custom report report page on my CQ 5.6.1 instance. I've got my reportbase and columnbase components set up correctly, by following the steps listed here. I am able to, for instance, pick up all the pages that are available, by setting the property nodeTypes
to cq:Page
I want to add a constraint to it, say for example pick up pages which have the title "test". I created a node under querybuilder
called propertyConstraints
and added my constraints in the form of nodes below it, as described here. Property added to the node was jcr:title
and the value was test
. However, this does not work for me at all. The output I get is "No rows to display"
What is the correct way to add constraints to the querybuildernode?