How to allow some specific components inside a container component in AEM? | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

05-01-2021

BlogImage.jpg

How to allow some specific components inside a container component in AEM? by Umesh Thakur

Abstract

Few days back I was doing one POC on creating a specialised container component that will accept only some specific component inside it.
Earlier we used to do the same task with the help of /etc/design, after introduction of the policies in AEM we hava a totally different and easy way to handle the scenario.

Only limited article is available online on the same, that guides step by step.

Let’s discuss the policy first in AEM.

In AEM we have two types of policies in ui-app, one is for template and another is for component.

Template policies normally resides in /conf/your-project/settings/wcm/policies/wcm/foundation/components/responsivegrid path and component policies normally resides in /conf/your-project/settings/wcm/policies/your-project/components path if your component is structured like /apps/your-project/components/content in /apps .
Now coming to the implementation part.

Read Full Blog

How to allow some specific components inside a container component in AEM?

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager