Currently we have a multisite setup where each site has a root node containing configuration (f.e. site language).
Each component can fetch this configuration from his site root using a HierarchyNodeInheritanceValueMap.
Now, when we are creating a new launch the page and components are copied to a different location.
This launch apparently doesn't copy any of the site configuration properties hence we lose the 'context' for the components.
Clarifying example:
Starting situation
/content/www-website-com/en site root contains a property siteLanguage:ENGLISH
/content/www-website-com/en/legal page contains a component that fetches the language using HierarchyNodeInheritanceValueMap and displays the ENGLISH text.
Now we create a new launch for the legal page
/content/launches/.../content/www-website-com/en new launch site root DOESN'T contain the siteLanguage:ENGLISH property.
/content/launches/.../content/www-website-com/en/legal contains a component that can't find the language using HierarchyNodeInheritanceValueMap and doens't display the text.
Any ideas how we should tackle this problem?
Views
Replies
Total Likes
WHat version of AEM are you using?
Views
Replies
Total Likes
Product : Adobe Experience Manager (6.1.0.20150507)
Views
Replies
Total Likes
Have you created a Java service in this use case that uses:
Views
Replies
Total Likes
Yes, I'm using that class ( com.day.cq.commons.inherit.HierarchyNodeInheritanceValueMap )
Views
Replies
Total Likes
I am checking internally - I have never seen this issue before.
Views
Replies
Total Likes
Did you find something?
Views
Replies
Total Likes
Hi Ben,
Can you manually set the property siteLanguage:ENGLISH at /content/launches/.../content/www-website-com/en and see it works. If so then not an issue with HierarchyNodeInheritanceValueMap instead launches filter ignoring it.
Thanks,
Sham
Views
Replies
Total Likes
Hi Sham,
If I manually add the property siteLanguage:ENGLISH at /content/launches/.../content/www-website-com/en, the HierarchyNodeInheritanceValueMap can pick it up.
Ben
Views
Replies
Total Likes