Restricting my custom components until the column control is dragged on the parsys

Avatar

Avatar

ShyamSundar

Avatar

ShyamSundar

ShyamSundar

15-05-2019

I have list of text, image, banner, carousel, etc. components in my project.

I need to restrict all these components until the column control is added on to the parsys in the page.

How to enforce this restriction.

Kindly let me know.

Note: I could achieve the same in authoring at design level but I want to achieve as soon as the page is loaded.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

15-05-2019

There is no OOTB way to do  this. You should consider moving to Editable Templates with AEM as that reflects best practice. Also - with policies, you can control which components an author has access to on a given page. If you are not familiar with Editable Templates - watch - Scott's Digital Community: Guided Journey for Experience Manager on Editable Templates

Answers (3)

Answers (3)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

15-05-2019

Are you using Static or Editable templates? If you are using Editable Templates, this is controlled by policies. Editable templates represent best practice.

Avatar

Avatar

ShyamSundar

Avatar

ShyamSundar

ShyamSundar

22-05-2019

We did change into editable templates and achieved the same via policies.

Thanks for your thoughts. Cheers !

Avatar

Avatar

ShyamSundar

Avatar

ShyamSundar

ShyamSundar

15-05-2019

Hi smacdonald2008​,

Thanks for the info.

Kindly suggest ways as we are using static templates.

Regards

SHYAM SUNDAR TK