Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Need querybuilder code for getting page references.

sureshy2015
Level 4
Level 4

Hi,

I want to get page references of a page using query builder.Please help me same regarding the same.

1 Accepted Solution
justin_at_adobe
Correct answer by
Employee
Employee

Hi,

Is there a reason you don't want to use https://docs.adobe.com/docs/en/aem/6-1/ref/javadoc/com/day/cq/wcm/commons/ReferenceSearch.html#searc...) which is purpose built for this?

If you need to use QueryBuilder, just do a full text search for the path, i.e fulltext=/etc/designs/geometrixx-media

Regards,

Justin

View solution in original post

1 Reply
justin_at_adobe
Correct answer by
Employee
Employee

Hi,

Is there a reason you don't want to use https://docs.adobe.com/docs/en/aem/6-1/ref/javadoc/com/day/cq/wcm/commons/ReferenceSearch.html#searc...) which is purpose built for this?

If you need to use QueryBuilder, just do a full text search for the path, i.e fulltext=/etc/designs/geometrixx-media

Regards,

Justin

View solution in original post