コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Fetch Content

Avatar

Level 4

I need to take content from inner nodes in CQ.

Any idea how i can acheive that.

Ex : /content/geometrixx/en/jcr:content/par/text --> If i click this link, it has to fetch text component values from the page.

Any suggestion to proceed?

1 受け入れられたソリューション

Avatar

正解者
Level 10

Typically to get data from nodes in the AEM JCR - you use the JCR API or QueryBuilder API.

https://docs.adobe.com/docs/en/cq/5-6-1/dam/customizing_and_extendingcq5dam/query_builder.html 

元の投稿で解決策を見る

4 返信

Avatar

Employee

What is it you are trying to achieve? How is this data going to be used?

Avatar

正解者
Level 10

Typically to get data from nodes in the AEM JCR - you use the JCR API or QueryBuilder API.

https://docs.adobe.com/docs/en/cq/5-6-1/dam/customizing_and_extendingcq5dam/query_builder.html 

Avatar

Level 2

You can refer to child nodes under a page directly. So this should work - 

http:/localhost:4502/content/geometrixx/en/jcr:content/par/text.html

Avatar

Level 4

Thank you.

My Assignment is.

Am searching a page based on tag.

It will show list of pages, instead of pages, i need to fetch content from the page.

Ex : Am searching tag named as orientation.

It will show result related to Orientation tag based pages.

In result page, i need to show, link and content in that page.

How i can achieve that.