Expand my Community achievements bar.

SOLVED

Invalid recursion selector value 'caas' in AEM 6.5

Avatar

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

Avatar

Correct answer by
Employee
5 Replies

Avatar

Correct answer by
Employee

Starting from 6.4, its exposed via .model.json. Like http://localhost:6481/content/we-retail/us/en.model.json.

Avatar

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?

Avatar

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...