Sling Model with custom selector not working in AEM 6.5 | Community
Skip to main content
Kashyap_Poodip1
August 26, 2019
Solved

Sling Model with custom selector not working in AEM 6.5

  • August 26, 2019
  • 1 reply
  • 2619 views

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.

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

check if this helps - Re: Sling Exporter with custom selector

1 reply

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
August 26, 2019