inheriting or Extending Existing Dialog Properties in AEM 6.1 | Community
Skip to main content
New Participant
January 18, 2016
Solved

inheriting or Extending Existing Dialog Properties in AEM 6.1

  • January 18, 2016
  • 6 replies
  • 5938 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

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

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

6 replies

New Participant
January 20, 2016

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

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

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
January 20, 2016

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

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

New Participant
January 20, 2016

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

Amit_Kumar
New Participant
January 19, 2016

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

edubey
New Participant
January 19, 2016

Set the component you want to extend as sling:superResouceType

Amit_Kumar
New Participant
January 19, 2016

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