Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

3 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