Hi ,
I have inherited core carousel component to add specific component but how to restrict number of component ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @lone_Ranger ,
To restrict only one component to your carousel component, click on the Carousel Component Policy icon and choose that particular component alone in Allowed Components List.
@lone_Ranger Please follow below Steps to acheive your usecase:
https://github.com/adobe/aem-core-wcm-components/issues/471
How i can include only 1 component which is available in my project rather than setting a limit?
@lone_Ranger Allowed components can be configured through policy configuration. Configure Policy to add only your Project specific Component.
Hi @lone_Ranger ,
To restrict only one component to your carousel component, click on the Carousel Component Policy icon and choose that particular component alone in Allowed Components List.
Hi @lone_Ranger ,
To achieve maximum number client side validation, you have to add custom script, which I would not recommend because of maintenance of backward compatibility for future component updates. Instead of that you can display an author friendly message in authoring mode while author configures the component to suggest/warn that the component works better for max 3 components.
You will find a details description in below video-
https://www.youtube.com/watch?v=675WXqyGeII
Hope it helps!
Hi Ritesh,
I am also looking to set max limit of components that can be added in carousel component, the youtube video that you have added is removed. Could you please provide me the link with detail to implement the same.
Thanks
Arpitha P
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies