Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Extended component not showing in layout container

Avatar

Level 2

Hello community ! I have been following the tutorials from https://solutionpartners.adobe.com/training/learning_program/learningProgram52525.html?PRIME_BASE=ht...

and I am stuck with a extended component I am trying to use. I have extended it from core/wcm/components/breadcrumb/v2/breadcrumb and name it as breadcrumb3 inside the We.Retail folder, however at the time I try to put it available in the container using the policies I can not access to it. Please have a look at the images.

 

Screenshot 2023-08-09 at 12.04.00 AM.png

 

 

Screenshot 2023-08-09 at 12.05.40 AM.png

I will remain attentive to any ! Thanks !

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @JohnGa2 

 

If we have 3 containers on a page, the Sidebar will list components for all 3 of them. But, you will only be able to drop the component, that is configured for that container.

 

Better is to select the container, click on + icon. This would ensure that only the allowed components for that container are listed.

 

Also, can you please make sure that these components have a dialog.


Aanchal Sikka

View solution in original post

6 Replies

Avatar

Community Advisor

Hi @JohnGa2 In the second screenshot, I see the components visible in the behind i.e., breadcrumb2, breadcrumb3.
Can you try checking this on any page created out of this template and check if you are able to add them and if you are trying to add in template check the container's policy from which you are adding if that policy has these components allowed in it.

Thanks,
Krishna

Avatar

Level 2

Hello @krishna_sai !!! Thanks for your reply. Yes ! the component is there, but I can not add it by dragging it. I forgot to add this screengrab, I made sure to add the accurate policy, but still it does not work on the template according with the video training. In theory, the group "We.Retail" should be available besides "General" as you may see in screengrab 2. Thank you !!!

 

Screenshot 2023-08-09 at 12.04.34 AM.png

By the way this is the module I am working on:

AEM 6.4: Extending a Core component.

Screenshot 2023-08-09 at 2.46.22 AM.png

Avatar

Community Advisor

Hello @JohnGa2 ,

According to your screenshot, your policies seem correct. Then you also should be able to see the "Insert New Component" list on a page. If so have you checked your content tree? 

Sady_Rifat_0-1691570562635.png

Sometimes for CSS issues after dragging in the page component is not visible.

Avatar

Level 2

Hello @Sady_Rifat I have tried in a new page and now I am able to edit the template of that page and use the component. Thanks a lot for your time

Avatar

Correct answer by
Community Advisor

Hello @JohnGa2 

 

If we have 3 containers on a page, the Sidebar will list components for all 3 of them. But, you will only be able to drop the component, that is configured for that container.

 

Better is to select the container, click on + icon. This would ensure that only the allowed components for that container are listed.

 

Also, can you please make sure that these components have a dialog.


Aanchal Sikka

Avatar

Level 2

Hello @aanchal-sikka !! I really appreciate your time and feedback. I have tried with a new page and all seems to work now. Thanks !