Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

How to allow list of components on parsys using policy in AEM

Avatar

Level 3

I have contaner component, for that container I need allow few list of components, for that I have created a component with cq:designDialog with allowed component. in html I added parsys below are the files.
cd:designDialog

Anilkumar9_0-1753197405160.png

 

HTML

Anilkumar9_1-1753197475168.png

component.xml

Anilkumar9_2-1753197524748.png

 

cq:policy of my component

Anilkumar9_3-1753197775053.png

but whenever try to add  allowed components components on page through that parsys, I didn't see any allowed components

Anilkumar9_4-1753197875787.png

any help to fix this

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Community Advisor

Hi @Anilkumar9,

It’s possible the policies haven't been properly deployed or linked.

Please try the following steps:

  1. Verify if the policies are deployed on your instance via CRXDE Lite at /conf/your-site/settings/wcm/policies/....

    • Check if your container component's policy exists.

    • Make sure the policy path is correctly referenced in the component via cq:policy.

  2. If the policy is missing or not working:

    • Delete all the policies under your site config (/conf/your-site/settings/wcm/policies/...).

    • Rebuild or redeploy the template/policy structure to reset them.

  3. Also ensure your filter.xml includes the policies and template-types nodes so they're deployed from your codebase to AEM.

Sometimes, even if everything looks correct, the UI won’t show allowed components unless the policy linkage is established properly in CRX.


Santosh Sai

AEM BlogsLinkedIn


Avatar

Correct answer by
Community Advisor

Avatar

Level 5

Hi @Anilkumar9 ,

 

According to my understanding, In Editable Templates, cq:designDialog is ignored, so your allowed-components setup won’t work. Instead, you must define allowed components via the Template Editor's policies. I think you can try to configure allowed components using the Editable Template’s policy editor.

Avatar

Administrator

@Anilkumar9 Just checking in — were you able to resolve your issue? We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!



Kautuk Sahni