Expand my Community achievements bar.

SOLVED

inheriting or Extending Existing Dialog Properties in AEM 6.1

Avatar

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

Avatar

Correct answer by
Level 10

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

6 Replies

Avatar

Level 10

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

Avatar

Level 10

Set the component you want to extend as sling:superResouceType

Avatar

Level 10

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

Avatar

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".

Avatar

Correct answer by
Level 10

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

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

Avatar

Level 3

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

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