Highlighted

Problem implementing Custom Resource Provider

Himanshu_Singhal

MVP

22-07-2019

Hi,

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

Replies

Highlighted

joeb21688728

23-07-2019

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

Highlighted

Himanshu_Singhal

MVP

24-07-2019

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.