I have componentA and it has policies. They are getting applied when its added in the page. But not when componentA is added in another component.
It would be great if anyone could provide path forward.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
When a component is included in another component using data-sly-resource its missing
If the container component has design dialog (you can see wheel icon in template editor mode) then you need to set policies for the container component, you can re-use the existing policies.
It's not about reusing policies. A component polices not getting applied, though I can see them in policies, when its included in another component. Could not see them in html if inspected.
Thanks
Hi @Rajendar_Gangan
You need to apply policy within component example : https://github.com/arunpatidar02/aemaacs-aemlab/blob/e31fc62bfd147e56ecaca740c6e2739c66c75f75/ui.con...
When a component is included in another component using data-sly-resource its missing
Views
Likes
Replies
Views
Likes
Replies