Restricting my custom components until the column control is dragged on the parsys | Community
Skip to main content
Level 2
May 15, 2019
Solved

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

  • May 15, 2019
  • 4 replies
  • 5161 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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

4 replies

smacdonald2008
Level 10
May 15, 2019

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

Level 2
May 15, 2019

Hi smacdonald2008​,

Thanks for the info.

Kindly suggest ways as we are using static templates.

Regards

SHYAM SUNDAR TK

smacdonald2008
smacdonald2008Accepted solution
Level 10
May 15, 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

Level 2
May 22, 2019

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

Thanks for your thoughts. Cheers !