Container with multi set to true | Community
Skip to main content
New Member
April 16, 2025
Solved

Container with multi set to true

  • April 16, 2025
  • 1 reply
  • 687 views

Is it possible to have a container with the multi property set to true ? Here is my model definition:

"models": [ { "id": "cardlinksitem", "fields": [ { "component": "text", "name": "title", "value": "", "label": "Title", "valueType": "string" }, { "component": "container", "label": "Links", "name": "links", "valueType": "object", "multi": true, "fields": [ { "component": "text", "name": "title", "label": "Button Label", "valueType": "string" }, { "component": "text", "name": "link", "label": "Button Link", "valueType": "string" } ] } ] } ],

 When I preview the page in the Universal Editor I can see the component but it's blank. I've tried to decorate the block and inserted 

<div data-name="links" data-aue-prop="links" data-aue-label="Links"><div data-aue-model="buttons" data-aue-label="Button"><p data-name="title" data-aue-prop="title" data-aue-label="Button Title">Example Button</p><p data-name="link" data-aue-prop="link" data-aue-label="Button Link">https://example.com</p></div></div>

 

Best answer by kapil_rajoria

Hi @krzysztofpo1 
Please refer:
https://experienceleaguecommunities.adobe.com/t5/edge-delivery-services/creating-multi-filed-block-model-definitions-in-eds-universal/td-p/713769 

Also, no need for the below if you are using EDS and universal editor in AEMaaCS:

<div data-name="links" data-aue-prop="links" data-aue-label="Links"><div data-aue-model="buttons" data-aue-label="Button"><p data-name="title" data-aue-prop="title" data-aue-label="Button Title">Example Button</p><p data-name="link" data-aue-prop="link" data-aue-label="Button Link">https://example.com</p></div></div>

you can just author the block in universal editor and the content will be rendered.

1 reply

kapil_rajoria
Community Advisor
kapil_rajoriaCommunity AdvisorAccepted solution
Community Advisor
September 3, 2025

Hi @krzysztofpo1 
Please refer:
https://experienceleaguecommunities.adobe.com/t5/edge-delivery-services/creating-multi-filed-block-model-definitions-in-eds-universal/td-p/713769 

Also, no need for the below if you are using EDS and universal editor in AEMaaCS:

<div data-name="links" data-aue-prop="links" data-aue-label="Links"><div data-aue-model="buttons" data-aue-label="Button"><p data-name="title" data-aue-prop="title" data-aue-label="Button Title">Example Button</p><p data-name="link" data-aue-prop="link" data-aue-label="Button Link">https://example.com</p></div></div>

you can just author the block in universal editor and the content will be rendered.