How to use AEM Sling Resource Merger to override an include node
Hi.
I have a custom component called Banner that is based on a supertype Teaser v2
<link
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/include"
path="/mnt/overlay/core/wcm/components/commons/editor/dialog/link/v1/link/edit/link"/>
This /include links into the link dialogue which I believe is this one, although I am not 100% sure since the path is a bit different with /mnt/overlay part.
I have tried to use the Sling Resource Merger to override the field label in the correct node structure like this, but that doesn't have any effect.
<link jcr:primaryType="nt:unstructured">
<link jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<url jcr:primaryType="nt:unstructured" fieldLabel="CTA Link">
</url>
</items>
</link>
</link>
I also tried various permutations without success leading me to a question - Is it even possible to use Sling Resource Merger in this scenario?
Thank you for your answers