Page Level Access to Components | Community
Skip to main content
Level 4
January 22, 2016
Solved

Page Level Access to Components

  • January 22, 2016
  • 3 replies
  • 961 views

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

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

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. 

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
January 22, 2016

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. 

Mani_kumar_
Community Advisor
Community Advisor
January 23, 2016
Are you looking for template level access for components??
kautuk_sahni
Community Manager
Community Manager
January 25, 2016

Please have a look at this forum post :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.407.html/forum__xc4x-how_can_i_restrictt.html

//

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-parsys.html

[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