However, you can also retrieve content from the JCR using the Sling Strongly-typed API. In fact, a resource is a central part of Sling and it assumes everything in the JCR is a resource. You can use Sling to retrieve a resource from within an OSGi bundle using the Sling strongly-typed Java API.
The following example shows the title retrieved from a page node that was retrieved using the Sling API.
This article walks you through how to use the Sling Strongly-Typed API to retrieved information from nodes in Experience Manager 6.4.
To read this development article, click https://helpx.adobe.com/experience-manager/using/querying-experience-manager-slingAPI-64.html.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.