Hi,
I have a custom two column component which works similar to 2 column component. I want to be able to drag only text component in to it. How can we restrict that? I mean from sidekick i should be able to drop only text component in to the parsys present in the component. Is it possible to achieve that behavior?
Solved! Go to Solution.
Views
Replies
Total Likes
You can mention which component to be allowed within the parsys in your 2 column component. refer [1] for the same
[1] http://stackoverflow.com/questions/23275062/restrict-the-components-in-aem-5-6-1
Views
Replies
Total Likes
Create configuration for that.
Ex : Convert it as container component and give parsys
For that parsys, set design path to accept only that component.
<parsys name
jcr:lastModified="{Date}2015-07-29T10:07:48.893-04:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
sling:resourceType="foundation/components/parsys"
components="[group:name]/particular component"/>
Views
Replies
Total Likes
You can mention which component to be allowed within the parsys in your 2 column component. refer [1] for the same
[1] http://stackoverflow.com/questions/23275062/restrict-the-components-in-aem-5-6-1
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies