I am trying to get only one item under a specific page in the content tree using a query in variant. I tried query:.//* but it gets all children under that item. I only need the first one. Any ideas?

1 Answer 1


You can use Maximal number of results field for this:

enter image description here

  • 1
    Use ./* instead of .//* if you want to avoid getting all items recursively but only children from the first level. Commented Jul 5, 2018 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.