Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

hidden group components are not visible in allowed component section of XF Template.

Avatar

Level 2

I was trying to create a XF . Created XF template type by copying the wknd's XF template type. 

But when I'm trying to create XF template using the created template type, I found a strange situation. All the .hidden group components are not present in the allowed components list. But I need those components to create my XF. 

 

As a next step I created policy and added components directly into the policy through crxde. Then I was able to see the required components in my templates but still not in the allowed template list. Also those components are added via crxde (through policy node) missing the styles. just content only able to see after authoring.

 

Anyone has come across such situation?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You can see the logic here, how the components are hidden

https://aemlab.blogspot.com/2020/08/restrict-allowed-component-group-in.html 



Arun Patidar

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @Linu ,

 

Hidden components are considered as to be used by developers for reference from another component. A 'componentGroup' property set to '.hidden' or any name starting with period (.) means the component will be hidden for authors to use.

 

Thanks,

Ritesh Mittal

Avatar

Level 2

Yes, Thanks for the update. But I could see the .hidden group components used in templates for the project I'm working on. May as you said it is not adobe suggested way of development.

Avatar

Correct answer by
Community Advisor

Hi,

You can see the logic here, how the components are hidden

https://aemlab.blogspot.com/2020/08/restrict-allowed-component-group-in.html 



Arun Patidar