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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

requestResponseFactory returning empty for _cq_dialog.infinity.json

Avatar

Level 3

Hi,

 

I am trying to get the cq:dialog infinity.json data.

being used with requestResponseFactory to make a request, everytime no response is returned.

Please help with the returning of the data with the requestResponseFactory 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Why are you not using httpRequest or sling request instead of requestResponseFactory. requestResponseFactory is used for below-

The RequestResponseFactory helps in creating custom HttpServletRequest and HttpServletResponse objects for use in Content Sync update handlers.

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Why are you not using httpRequest or sling request instead of requestResponseFactory. requestResponseFactory is used for below-

The RequestResponseFactory helps in creating custom HttpServletRequest and HttpServletResponse objects for use in Content Sync update handlers.

Avatar

Level 3

I am trying to access mnt/override/<path-to-component>/_cq_dialog.infinity.json

Will try with the above .

Thank you

Avatar

Community Advisor

Does the resource exist? Can you get a 200 OK from GET request from http://localhost:4502/apps/my-site/desktop/dialogs/icon-selection.infinity.json ?