Expand my Community achievements bar.

SOLVED

Page Level Access to Components

Avatar

Level 5

Today, we grant access to components at the parsys level within a given page.

Is it possible to grant access to components for the entire page (meaning any parsys)?

Thank you in advance.

-Dean

1 Accepted Solution

Avatar

Correct answer by
Level 10

Are you looking for information on how to allow and disallow certain components  on an AEM page? 

I have always selected and deselected components during design mode - but i assume you are looking for a way to do this using nodes and properties instead of setting them at design time. 

I have not seen community articles on this use case. However - here is a Stackoverflow that may point you in the right direction:

http://stackoverflow.com/questions/23275062/restrict-the-components-in-aem-5-6-1

Maybe another community member has done this and will point you to more information. 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Are you looking for information on how to allow and disallow certain components  on an AEM page? 

I have always selected and deselected components during design mode - but i assume you are looking for a way to do this using nodes and properties instead of setting them at design time. 

I have not seen community articles on this use case. However - here is a Stackoverflow that may point you in the right direction:

http://stackoverflow.com/questions/23275062/restrict-the-components-in-aem-5-6-1

Maybe another community member has done this and will point you to more information. 

Avatar

Community Advisor
Are you looking for template level access for components??

Avatar

Administrator

Please have a look at this forum post :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

//

Might be you are looking at [1].

Coming to original question Allowed component is part of design. Make sure to configure the property "components" as type string[] with list of all the components.As an example for geometrixx you can refer /etc/designs/geometrixx/jcr:content/contentpage/par/@components.   Another trick you can follow is http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2012/06/default-components-in-your...

[1]  http://labs.sixdimensions.com/blog/2013-02-04/flexible-cq5-pages/

 

Restrict the components :- http://stackoverflow.com/questions/23275062/restrict-the-components-in-aem-5-6-1

Restricting component to a certain number of instance per page :- http://www.aemmastery.com/2014/07/29/restricting-aem-component-number-instances-page/

Restrict number of components :- http://wcmaem.blogspot.in/2013/12/copy-parsys-component.html

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni