Expand my Community achievements bar.

SOLVED

JSON Exporter not working on contentfragment

Avatar

Level 4

Hi All,

Trying to follow the JSON exporter documentation, but model selector is not working on content fragment.

http://localhost:4502/content/we-retail/us/en/experience/arctic-surfing-in-lofoten.model.json (This is working fine), but if we try to access the URL till content fragment node, that is giving error. This URL

http://localhost:4502/content/we-retail/us/en/experience/arctic-surfing-in-lofoten/jcr:content/root/...  gives following error

Invalid recursion selector value 'model'

Cannot serve request to /content/we-retail/us/en/experience/arctic-surfing-in-lofoten/jcr:content/root/responsivegrid/content_fragment.model.json in org.apache.sling.servlets.get.DefaultGetServlet

Is there any other configuration required?

Thanks,

Sandeep

1 Accepted Solution

Avatar

Correct answer by
Level 4

It seems the screenshots in documentation have been given from we.retail sandbox component. The documentation doesn't mentions about the sandbox content fragment component. After installing we.retail sandbox component the model selector is working fine.

Not sure why "General" Content Fragment components don't work with "model" selector. May be the model exporter functionality is not implemented for those yet.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

It seems the screenshots in documentation have been given from we.retail sandbox component. The documentation doesn't mentions about the sandbox content fragment component. After installing we.retail sandbox component the model selector is working fine.

Not sure why "General" Content Fragment components don't work with "model" selector. May be the model exporter functionality is not implemented for those yet.