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

Invalid recursion selector value 'caas' in AEM 6.5

sareshpp9060331
Level 1
Level 1

In AEM 6.3, we could expose our page content as JSON without using Content Fragments or Experience Fragments with the extension caas.json (e.g. localhost:4502/content/we-retail/us/en/men.caas.json) to 3rd party apps.

 

AEM 6.3 output : 

sareshpp9060331_1-1595290588073.png

 

After migrating to AEM 6.5, when we hit the same URL, we receive an error saying - Invalid recursion selector value 'caas'

 

AEM 6.5 error

sareshpp9060331_0-1595290236589.png

 

In the release notes of AEM 6.5 we did not find any deprecation/removal of this feature.

Any idea as to why it's not working?



 

 

1 Accepted Solution
vanegi
Correct answer by
Employee
Employee
5 Replies
vanegi
Correct answer by
Employee
Employee
sareshpp9060331
Level 1
Level 1

Hi @vanegi,
In 6.3, with caas.json the output was refined and there was no junk data like responsivegrid, gridClassNames, etc unlike using model.json in 6.5. 

Also, page properties value were available using caas.json which is not the case with model.json in 6.5

Since we have used the output of caas.json for our 3rd party applications, is there a way we can get almost similar like experience in AEM 6.5 as well with model.json or any other way without creating CF or XF?

Ankur_Khare
Community Advisor
Community Advisor

I haven't used in aem 6.3 but it seems this "caas" selector is not working on aem 6.5.

And to consume it as content as a service you should be following this-

 

https://docs.adobe.com/content/help/en/experience-manager-64/developing/components/json-exporter.htm...