Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

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

Avatar

Administrator

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.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies