Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

XF Field throws an error while giving auto suggestions

Avatar

Level 1

I have a XF field in my component with resource type as : cq/experience-fragments/editor/components/xffield
and i have given one property rootPath as /content/experience-fragments.
Now when i type anything in this field it throws an error as failed to load next page

JavedKh_0-1757572654890.png

 

If i give rootPath as /content/experience-fragments/myproject then this error doesnt show up. But i want to have rootPath as /content/experience-fragments only. Any solution to this?

2 Replies

Avatar

Level 10

hi @JavedKh

maybe the error happens because the field tries to load all content fragments under that root path, which can be very large and cause pagination or loading issues. When you restrict rootPath to something narrower like "/content/experience-fragments/myproject," the loading works fine because the scope is limited. 

Avatar

Level 1

Yes correct. I want to resolve this pagination issues