Expand my Community achievements bar.

SOLVED

AEM 6.2 touch UI - Restricting component to embed in another component

Avatar

Level 3

Hi All,

I want to make a component as stand-alone. Component should be restricted to embed in another component.

What property should be added? How to achieve this?

AEM Version : 6.2

Touch UI

Static Templates only

Thanks in advance.

Regards,

Divya

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

There are multiple ways to achieve this:

  • Option-1: Use component Group as ".hidden". This would assure that its not listed to drop in any container, parsys or iparsys. When ".hidden" is used, you would be able to include it in template/page via page component.
  • Option-2: Fine- tune policy of your container/parsys/iparsys to only include the components that should be allowed

 

 


Aanchal Sikka

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

There are multiple ways to achieve this:

  • Option-1: Use component Group as ".hidden". This would assure that its not listed to drop in any container, parsys or iparsys. When ".hidden" is used, you would be able to include it in template/page via page component.
  • Option-2: Fine- tune policy of your container/parsys/iparsys to only include the components that should be allowed

 

 


Aanchal Sikka