Expand my Community achievements bar.

SOLVED

Querying Adobe Experience Manager 6 data using the Sling getServiceResourceResolver method

Avatar

Level 4

Hi

I am working on the sample provided in the url populating the data in the data grid pulled from the JCR. I am facing the problem as the examples is not using the archetype10 to run the java code which was trained during the adobe training can someone help me on this.

Do we need to create a project structure like the company project provided in the screen shot which is an example project created during the adobe training.

https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html

Regards

Pr@veen

1 Accepted Solution

Avatar

Correct answer by
Level 10

@Praveen Kumar  - we had a meeting on this. We explained that you did not have to run 10 to write AEM OSGi bundles. During the meeting, I showed you the app running and the JCR data in the CQ web page.

I asked you to package up the /apps/<your app> and /content with the page and email it to me so i can see if you made a mistake with the code. I am still waiting for that package. So please package up the app and send to me. I will see if you made an error or typo somewhere. 

Thxs! 

View solution in original post

3 Replies

Avatar

Level 10

1. Unable to see screenshot attached

2. If you see the article in link you shared, it does not use archetype 10. You can use old archetype (the same used in article) or create new project with archetype 10 and use the given code.

If you just want to test that code you can use any, But its always recommended to use latest archetype 10

Avatar

Administrator

Adding to edubey's (Praveen) comment, please find below some reference links :

Link:- https://github.com/Adobe-Marketing-Cloud/aem-project-archetype

Link:- http://experiencemanaged.com/posts/using-archetype-10-in-aem-61.html

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Correct answer by
Level 10

@Praveen Kumar  - we had a meeting on this. We explained that you did not have to run 10 to write AEM OSGi bundles. During the meeting, I showed you the app running and the JCR data in the CQ web page.

I asked you to package up the /apps/<your app> and /content with the page and email it to me so i can see if you made a mistake with the code. I am still waiting for that package. So please package up the app and send to me. I will see if you made an error or typo somewhere. 

Thxs!