I have component contact-form which contains parsys with path='par'. I am adding this component on another parsys which is present in homepage. Now requirement is to allow specific components on contact-form parsys.
I have created page inside etc/design, please see below screenshot for reference.
It is not working below is the screenshot of par attributes.
Are you using editable templates, if yes configure the allowed components from the template/component policies.
If no, probably because AEM doesn't know which components to allow on your parsys. Please check the following links on how to do it in design mode and how to do it in xml format in the design of your project