Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Get Parent resource with HierarchyNodeInheritanceValueMap

Avatar

Level 6

I am trying to get a property with HierarchyNodeInheritanceValueMap API. Is it possible to get resource object with certain property with this API ?

1 Accepted Solution

Avatar

Correct answer by
Level 10

I think this will return only the ValueMap object and the parent resource object may not be available via this API. refer [1] [2] for more details

[1] https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/commons/inherit/HierarchyNodeInheritanceV...

[2] http://labs.6dglobal.com/blog/2012-07-23/good-know-inheritancevaluemap/

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

I think this will return only the ValueMap object and the parent resource object may not be available via this API. refer [1] [2] for more details

[1] https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/commons/inherit/HierarchyNodeInheritanceV...

[2] http://labs.6dglobal.com/blog/2012-07-23/good-know-inheritancevaluemap/