Hi @s__k__agarwal ,
You do not need to copy or duplicate the entire Asset tab. Instead, you leverage sling:resourceSuperType and Sling Resource Merger to cleanly extend only the part you need.
Solution:
1. Overlay Only the asset Node
Create the following structure in your Teaser component dialog:
/apps/<your-project>/components/teaser/cq:dialog/content/items/tabs/items/asset
2. Set sling:resourceSuperType
sling:resourceType = "granite/ui/components/coral/foundation/fixedcolumns"
sling:resourceSuperType = "core/wcm/components/image/v3/image/cq:dialog/content/items/tabs/items/asset"
This means: inherit the entire asset tab from the core component, but allow local extension.
3. Add Your Custom Field(s)
Under the items node of this new asset overlay, add your custom fields.
/apps/<your-project>/components/teaser/cq:dialog/content/items/tabs/items/asset/items/myCustomImageField
Example:
sling:resourceType = "granite/ui/components/coral/foundation/form/checkbox"
name = "./myCustomCheckbox"
text = "Enable Foo"
value = "true"
Regards,
Amit
Amit Vishwakarma - Adobe Commerce Champion 2025 | 17x Adobe certified | 6x Adobe SME