Solved
Add Component to two componentGroup
I would like to add myComponent to two or more componentGroup,
How can I do that?
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:Component"
jcr:title="MyComponent"
sling:resourceSuperType="custom/components/content/mycomponent/v1/mycomponent"
componentGroup="first group"/>
I tried:
componentGroup="first group, second group"
componentGroup="[first group, second group]" but it does not work