Hi Team,
I need to restrict the no. of component count in a parsys foundation/components/parsys, I am working in aem 6.5, service pack 6.5.11 and I tried these old threads
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/restrict-number-of-compone...
https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/639 , could not resolve the issue yet.
Any suggestions will help!
@arunpatidar @vivekanand-mishra
Solved! Go to Solution.
Views
Replies
Total Likes
Posting the solution which worked for me here.
The component e.g. /apps/XXX/components/content/componentName where I intend to add the parsys limiter functionality, there we need to create a clientlib folder of node type cq:ClientLibraryFolder and then add categories as cq.authoring.editor.hook of String[]. Tried using /apps/acs-commons/touchui-widgets/source/touchui-limit-parsys.js OOTB script so we have to load these below lines in js.txt of that component where we want to have parsys limiter functionality.
#base=../../../../../acs-commons/touchui-widgets/configure-limit-parsys
touchui-limit-parsys.js
Note : ../../../../../acs-commons/touchui-widgets/configure-limit-parsys - this is the relative path of the /apps/acs-commons/touchui-widgets/source/touchui-limit-parsys.js from where we are accessing it.
Not sure if the feature is compatible with AEMaaCS or not?
https://adobe-consulting-services.github.io/acs-aem-commons/features/parsys-limiter/index.html is not available.
But 6.5 it does work.
Posting the solution which worked for me here.
The component e.g. /apps/XXX/components/content/componentName where I intend to add the parsys limiter functionality, there we need to create a clientlib folder of node type cq:ClientLibraryFolder and then add categories as cq.authoring.editor.hook of String[]. Tried using /apps/acs-commons/touchui-widgets/source/touchui-limit-parsys.js OOTB script so we have to load these below lines in js.txt of that component where we want to have parsys limiter functionality.
#base=../../../../../acs-commons/touchui-widgets/configure-limit-parsys
touchui-limit-parsys.js
Note : ../../../../../acs-commons/touchui-widgets/configure-limit-parsys - this is the relative path of the /apps/acs-commons/touchui-widgets/source/touchui-limit-parsys.js from where we are accessing it.
Thanks for sharing @nibedita07
Views
Likes
Replies
Views
Likes
Replies