Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Setting Component policy for nested component

Avatar

Level 1

We have a component 'tabs' in our project and inside that we have a 'subtab' component

crx structure:

/apps/proj/components/layout/tabs

/apps/proj/components/layout/tabs/subtab

 

I am facing multiple issues

  • I am unable to see the 'subtab' component in template structure option though I have included in template policy. I can see 'tabs' component.
  • I have added component policy (style-system) for 'tabs' component and I see styles changing for it
  • I have added similar policy for 'subtab' component from 'crx/de' and can see style-system option while authoring page, but styles are not changed.

Please help me on this.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Community Advisor

Hi @ChandraShiggaon,

Could you please share details about your component. 

  • Is the tabs component a completely custom one or it is created extending/making use of Core Tabs component. 
  • Resource that your component use. (Dialog field resource)

Avatar

Correct answer by
Community Advisor