Setting Component policy for nested component | Community
Skip to main content
May 18, 2021
Solved

Setting Component policy for nested component

  • May 18, 2021
  • 2 replies
  • 1051 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Vijayalakshmi_S
Level 10
May 18, 2021

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)
arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 21, 2021