hello team,
i m embedding a component inside another component using data-sly-resource. I m not getting style system options for the embedded component. However when we include the component directly then style system comes.
How to enable style system??? i have tried decoration=true but it didnt work.
Solved! Go to Solution.
I would agree with @EstebanBustamante It seems to be probably related to policies. You can try copying the embedded component's policy once under your parent component's policy node to check.
Structure would look something like this :
Parent component
parent component policy
embedded component
embedded component policy
@sirishap9577191 : Is it possible to share the code snippet.
Based on similar question, it should work already, please refer: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/style-system-is-not-visibl...
Hi,
Check the policies of the component, most likely the policies are not applied to the embed component.
Hope this helps
I would agree with @EstebanBustamante It seems to be probably related to policies. You can try copying the embedded component's policy once under your parent component's policy node to check.
Structure would look something like this :
Parent component
parent component policy
embedded component
embedded component policy
@sirishap9577191 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies