1

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

You can use Maximal number of results field for this:

enter image description here

|improve this answer|||||
  • 1
    Use ./* instead of .//* if you want to avoid getting all items recursively but only children from the first level. – Alan Płócieniak Jul 5 '18 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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