Expand my Community achievements bar.

Join expert-led, customer-led sessions on Adobe Experience Manager Assets on August 20th at our Skill Exchange.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

How to extract content from page nodes from each component?

Avatar

Level 3

I want extract content from page nodes from each component using java/sling. Can you tell me how can I get these things?

3 Replies

Avatar

Level 10

A Page is only a node and it has properties. You can read properties from a node by using the JCR API.

You can also use the PageManager API to get information about pages. For example, using the PageManager API, you can get a Page. A Page contains methods that return information about the page. See PageManager and Page references in the AEM JavaDocs.

"The CQ5 Quickstart and Web Application."

Avatar

Level 10

Here is an older community article that shows use of PageManager API to get information about a Page -- Adobe Experience Manager Help | Using Sling APIs to retrieve content from the Adobe Experience Manag...

Avatar

Level 3

Can any one provide me sample code?  unable to extract content using page node. I followed the above answer.