Hi Ryan

If you have the UUID of a node, then you have a direct access to the node. To get that node (assuming it is not the node in the request), you will need the "HierarchyManager". This way you can verify the access rights (meaning that Magnolia checks if you have the rights to access the page). Here is a sample: Content thePage = MgnlContext .getHierarchyManager (ContentRepository.WEBSITE).getContentByUUID(yourUUID); From here on you can use a defined methods (e.g. getTitle() ) to get the title-property of the page or go the conventional way (thePage.getNodeData("myProperty").getString() ) to retrieve the property value.

Check also on ContentUtil class, which provides convenience methods to retrieve content.

HTH
Giancarlo

On Mar 10, 2008, at 12:52 PM, Ryan Bales wrote:

I am hoping that someone can kindly tell me the best way to return a specific node value (a page's title for example) if that I have page's UUID --xpath query? Any help would be great!
-Ryan

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to