hidden group components are not visible in allowed component section of XF Template. | Community
Skip to main content
Level 2
February 4, 2023
Solved

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

  • February 4, 2023
  • 2 replies
  • 1965 views

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?

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

Hi,

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

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

2 replies

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
February 5, 2023

Hi @linujo ,

 

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

LinuJoAuthor
Level 2
February 5, 2023

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.

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
February 5, 2023

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