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

SOLVED

Querying Adobe Experience Manager 6 data using the Sling getServiceResourceResolver method

praveenk9004043
Level 4
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
smacdonald2008
Correct answer by
Level 10
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
edubey
Level 10
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

kautuk_sahni
Employee
Employee

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

smacdonald2008
Correct answer by
Level 10
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