Base Component – actual cq:dialog
<bannerImage jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/pathbrowser"
fieldDescription="Select banner image" fieldLabel="Banner Image"
name="./bannerImage" />

Reusing bannerImage field in other component
<bannerImage
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/include"
path="/apps/reuse/components/content/banner/cq:dialog/content/items/tab1/items/columns/items/bannerImage"/>
path – actual dialog field path which need to be reused in the different component, above xml forms the node in the crx/de as shown below and the cq:dialog field


I need to replace the fieldlabel inheriting from parent, I have tried to override the field but still displaying from parent field.
LikeLike
Use parameterised namespaces –
https://adobe-consulting-services.github.io/acs-aem-commons/features/granite/parameterized-namespace-include/subpages/parameter-example.html
LikeLike