incude dialog items json | Community
Skip to main content
sreenu539
Level 7
December 13, 2022
Solved

incude dialog items json

  • December 13, 2022
  • 1 reply
  • 1562 views

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.

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 SantoshSai

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 

1 reply

SantoshSai
Community Advisor
Community Advisor
December 13, 2022

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 

Santosh Sai
sreenu539
sreenu539Author
Level 7
December 13, 2022

 

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

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
December 13, 2022

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 

Santosh Sai