Expand my Community achievements bar.

Problem implementing Custom Resource Provider


Community Advisor


I'm trying to implement custom resource provider to get the data which doesn't exist in JCR repo. I'm referencing the following link sling-org-apache-sling-launchpad-test-services/src/main/java/org/apache/sling/launchpad/testservices...

I've added in my code base and then given the same root path value in cq:dialog i.e. /planets.

But, when I open the dialog, it just shows the /planets but if I click on /planets then it doesn't show anything further. However, it should show other planets options in dialog tree.

Anyone has tried it out?

Best regards,
Himanshu Singhal

6 Replies


Level 4

Where is the data you are trying to reference located? You may not even need that and use of other API may be better.


Community Advisor

Need to get data from Solr and create tree structure in dialog as it appears when we provide rootPath in pathfield and open the dialog.
And, we don't want to create node structure in AEM.


Employee Advisor

What AEM version are you using? Are you using ClassicUI for your tests?