Hi
path="/path/to/other/dialog/inputs.infinity.json" xtype="cqinclude"
above was the way in classic ui to include set of nodes
I would like to do "include of items node" from a dialog using sling:resourceType granite include.
I tried including one of the node below "items" (example : /apps/site-core/components/structure/footer/v1/footer/cq:dialog/tab_footer_mission/items/column/items/content/items/headingText and it worked.
but when I tried to include items parent node to include all child nodes from items "/apps/pi-web/components/structure/footer/v1/footer/cq:dialog/tab_footer_mission/items/column/items/content/items" , or ... items.json or items.infinity.json, it does not work.
Thanks for insights on this.
Solved! Go to Solution.
Views
Replies
Total Likes
Yes /mnt/override helps in this case- please have a look at core page component here: /apps/core/wcm/components/page/v2/page/cq:dialog/content/items/tabs/items/basic/items/column/items/title
Hi @sreenu539,
Use
granite/ui/components/coral/foundation/include
Please refer below link which does have xml structure
https://exadel.com/news/classic-to-touch-ui-migration-for-aem-page-properties/
Hope that helps!
Regards,
Santosh
I have a component with above structure. I have a supertyped component for above component.(see below)
I would like to have all item fields that parent component has , also new field "taglineText".
@sreenu539 Can you try using? -
granite/ui/components/coral/foundation/include
instead
granite/ui/components/foundation/include
that did not work.
below worked though , got a hint from your earlier link about "/mnt/override" (This doing resource merger , displaying all fields from parent include path of parent component and new property 'taglineText' from child component include /mnt/override path
Yes /mnt/override helps in this case- please have a look at core page component here: /apps/core/wcm/components/page/v2/page/cq:dialog/content/items/tabs/items/basic/items/column/items/title
Views
Likes
Replies