Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Problem implementing Custom Resource Provider

Avatar

Community Advisor

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

6 Replies

Avatar

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.

Avatar

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.

Avatar

Employee Advisor

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

Jörg