この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
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.
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
nope.. thats the way to inherit only the dialog.
use .infinity.json to load all the levels of nodes which essentially required
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
Set the component you want to extend as sling:superResouceType
表示
返信
いいね!の合計
This will inherit the whole dialog. I think She is more interested in extending one or more properties from other component.
表示
返信
いいね!の合計
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".
表示
返信
いいね!の合計
nope.. thats the way to inherit only the dialog.
use .infinity.json to load all the levels of nodes which essentially required
表示
返信
いいね!の合計
Agreed, that's the only way to inherit the properties.
Thank you all for quick responses, help is very much appreciated.
表示
返信
いいね!の合計