Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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/