Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

ShyamSundar
Level 2
Level 2

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.

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

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

View solution in original post

4 Replies
smacdonald2008
Level 10
Level 10

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

ShyamSundar
Level 2
Level 2

Hi smacdonald2008​,

Thanks for the info.

Kindly suggest ways as we are using static templates.

Regards

SHYAM SUNDAR TK

smacdonald2008
Correct answer by
Level 10
Level 10

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

View solution in original post

ShyamSundar
Level 2
Level 2

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

Thanks for your thoughts. Cheers !