Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

inheriting or Extending Existing Dialog Properties in AEM 6.1

shikhas10482204
Level 3
Level 3

Hi all,

Is it possible to extend the existing dialog properties in Child component. One way of doing that is using infinity.json , is their any other way of doing the same apart from this way. If yes, please guide us with some links for reference.

1 Accepted Solution
bsloki
Correct answer by
Community Advisor
Community Advisor

nope.. thats the way to inherit only the dialog.

use .infinity.json to load all the levels of nodes which essentially required

View solution in original post

0 Replies
Amit_Kumar
Community Advisor
Community Advisor

Extending tab or individual widget in dialog is very easy in AEM as everything is stored in JSON format.

Just set a particular widget 's xtype to cqinclude and extend the path down to the individual widget level too, i.e.

To extend custom widget : You can use the xtype as cqinclude and path to the specific widget such as "apps/myproject/dialog/tab2/items/custom.infinity.json" 

Read about learn about various widget options: https://docs.adobe.com/docs/en/aem/6-1/develop/components/widgets.html

edubey
Level 10
Level 10

Set the component you want to extend as sling:superResouceType

Amit_Kumar
Community Advisor
Community Advisor

This will inherit the whole dialog. I think She is more interested in extending one or more properties from other component.

shikhas10482204
Level 3
Level 3

Thank you all for the replies.

Yes ,we are interested in inheriting the properties and above solution will work but just want to know if their is any other approach AEM has  apart from "infinity.json".

bsloki
Correct answer by
Community Advisor
Community Advisor

nope.. thats the way to inherit only the dialog.

use .infinity.json to load all the levels of nodes which essentially required

View solution in original post

shikhas10482204
Level 3
Level 3

Agreed, that's the only way to inherit the properties.

Thank you all for quick responses, help is very much appreciated.