Expand my Community achievements bar.

SOLVED

Sling Model with custom selector not working in AEM 6.5

Avatar

Level 1

Hi All,

I am using a Sling model exporter to export json data in AEM 6.5 and using the selector "results". When the selector is "model" , it works perfectly. However with custom selector , it shows the below error.

Screenshot 2019-08-26 at 17.18.28.png

My sling model is also shown in the Sling Models Exporter Servlets section with the provided selector in http://localhost:4504/system/console/status-slingmodels

Not sure why the DefaultServlet is picked up.

1 Accepted Solution

Avatar

Correct answer by
Level 10
1 Reply

Avatar

Correct answer by
Level 10