Sling Model with custom selector not working in AEM 6.5

kashyap_poodipe

26-08-2019

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.

View Entire Topic