Unable to add components inside the touchui component parsys in AEM 6.4.4 | Community
Skip to main content
vijays80591732
Level 3
March 5, 2021
Solved

Unable to add components inside the touchui component parsys in AEM 6.4.4

  • March 5, 2021
  • 2 replies
  • 2793 views

I have a page that is created using an editable template and I have added a Header component to the page. The header component.html is having parsys ("foundation/components/parsys"). when I try to add a component into the Header component parsys I don't have the option to add rather, I have an option to convert experience fragment variation (screenshot below). If I use the component in the editable template I can go and configure the allowed components but, in my case where should I configure? Any suggestions would be helpful.

 

 

@vijayalakshmi_s  @14414417 @ratna_kumar @veenavikraman @vanegi @feike_visser1 @kautuk_sahni @rima_mittal 

 

Regards,

Vijay

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 VeenaVikraman

@vijays80591732  I think you have to add the Header component in the Editable template and then Set the policies for the Parsys inside the Header component, rather than adding it to your page. Because, when you add the component to your page, the parsys inside it has no policy attached to it yet. So if you add it in Template and enable the policy , then your parsys should work I believe. I have never worked on this usecase, but I think that should work. 

2 replies

Pawan-Gupta
Level 8
March 5, 2021

Hello,

 

the answer is in your question only. you should be configuring that parsys from editable template and enabling component for the parsys " create/modify the policy)

If parent parsys is already enabled the component then you need not require to do for child parsys rather it will inherit

 

thanks!!

 

 

vijays80591732
Level 3
March 5, 2021

Hello Pawan.

I have already tried the way you suggested but not working. Attached is the screenshot where I configured the allowed components for "par" in the template level. After that I'm able to add new components in the parsys but,  still unable to add components in child parsys.

 

 

VeenaVikraman
Community Advisor
VeenaVikramanCommunity AdvisorAccepted solution
Community Advisor
March 6, 2021

@vijays80591732  I think you have to add the Header component in the Editable template and then Set the policies for the Parsys inside the Header component, rather than adding it to your page. Because, when you add the component to your page, the parsys inside it has no policy attached to it yet. So if you add it in Template and enable the policy , then your parsys should work I believe. I have never worked on this usecase, but I think that should work. 

vijays80591732
Level 3
March 6, 2021
Thanks Veena. It worked.