Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

When using QueryBuilder with selective properties, how can we return the path of each result as well?

Avatar

Level 7

Hi,

When using default "p.hits", search results contain path as well. However when using the "selective" option, path is no longer returned.

Is there a way to return path with selective option?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

In p.properties include jcr:path separated by a space

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

In p.properties include jcr:path separated by a space