Hi All,
we have requirement that needs to allow only one component for parsys. Generally when we drag a component in parallel it will create one more empty parsys and can create drag/drop another component but we do not want this behavior.
Is there a way to restrict like this??
Thanks,
Kishore
Solved! Go to Solution.
kautuksahni wrote...
Hi
Adding one more reference (Old Forum Post) :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
//
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/
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi
Hope the below link can help you restrict.
http://wcmaem.blogspot.in/2013/12/copy-parsys-component.html
Views
Replies
Total Likes
Go into design mode and edit the parsys to only allow for the single component you're referring to.
https://docs.adobe.com/docs/en/aem/6-1/author/page-authoring/default-components/designmode.html
Views
Replies
Total Likes
Hi
Please find below the article covering the same:-
//Limit the number of Components added in a Parsys
Touch UI:- http://experience-aem.blogspot.in/2016/01/aem-61-touch-ui-limit-the-number-of-components-added-in-pa... Demo | Package Install
Classic UI:- http://experience-aem.blogspot.in/2016/01/aem-61-classic-ui-limit-components-added-in-parsys.html Demo | Package Install
Set the Limit - Design Mode
Stored in CRX
Limit Exceeded Error on Component Drop or Insert - Edit Mode
Another Reference Article :- http://wcmaem.blogspot.in/2013/12/copy-parsys-component.html
//
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Hi
Adding one more reference (Old Forum Post) :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
//
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/
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Thank You
Views
Replies
Total Likes
kautuksahni wrote...
Hi
Adding one more reference (Old Forum Post) :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
//
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/
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hello,
I also have the same requirement. Unfortunately the links mentioned in the correct answer are not available at the moment. Could you please help? I am using AEM 6.5.11.0
Regards
Denny
Views
Replies
Total Likes