Unable to add components inside Custom Layout Container | Community
Skip to main content
New Participant
October 19, 2023

Unable to add components inside Custom Layout Container

  • October 19, 2023
  • 2 replies
  • 1096 views

Hello,

We are trying to create custom Layout Container(wcm/foundation/components/responsivegrid) component and allow some components to add inside it.

Below are the steps:
1. Created a new "Custom Layout Container" component and given it's superType as

sling:resourceSuperType="/libs/wcm/foundation/components/responsivegrid"

 2. Added the policy in the template for this new Custom Layout Container to add components inside it.

 

 


The problem I'm facing is, after adding this new "Layout container" on a page, not able to add any other components inside it. It does not have any height (which ootb layout container has and "Drag Components here" is also not coming.

 

Has anyone experienced this issue? 


Thankyou.

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

2 replies

kautuk_sahni
Employee
October 26, 2023

@aemuser2021  Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
aanchal-sikka
New Participant
October 19, 2023

hello @aemuser2021 

 

Cab you please try by using "core/wcm/components/container/v1/container" as the "sling:resourceSuperType" ?

 

 

Aanchal Sikka
New Participant
October 19, 2023

Hey @aanchal-sikka 

Tried changing the resourceSuperType as "core/wcm/components/container/v1/container" as well but facing the same issue.

aanchal-sikka
New Participant
October 19, 2023

@aemuser2021 

 

Have you also tried by creating a new page?

Aanchal Sikka