Hi Team,
I have page structure like below.
us_en
---------Home page
-------------Page1
-------------Page2
I Have some property in us-en like Site Name if i enter sitename=xyz.com the same site name i need to get in page1 and page 2 how i can get inherited page properties of page.
Solved! Go to Solution.
Views
Replies
Total Likes
Could you please refer https://www.albinsblog.com/2017/12/how-to-get-inherited-properties-in-adobe-experience-manager-filte...
HierarchyNodeInheritanceValueMap - This will help to retrieve the inherited properties from parent pages.
hope these will help.
Hi,
Try using context aware configuration, using this you can set the common values at parent page and same can be read in all the child pages. These are easy to update on the fly without any code changes.
Hi,
I have used custom property for page component.
The value of property is not present in child page i need to get from parents page.
If any one did to inheritance of custom property plz share how to implement
Could you please refer https://www.albinsblog.com/2017/12/how-to-get-inherited-properties-in-adobe-experience-manager-filte...
HierarchyNodeInheritanceValueMap - This will help to retrieve the inherited properties from parent pages.
hope these will help.
Hi,
Use inheritedPageProperties object in sightly or in the model
${inheritedPageProperties.prop1}
https://experienceleague.adobe.com/docs/experience-manager-htl/using/htl/global-objects.html?lang=englobal
Views
Likes
Replies