Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLUCIONADO

Multifield - One item to render on adding it

Avatar

Level 5

The requirement is to have one item in a multifield component as default when we add the component on the page. How can I achieve this? 

For example, if SKU list is a multifield, the below should be the way it needs to be added with one item already available.

goyalkritika_0-1704431344500.png

 

Tópicos

Os tópicos ajudam a categorizar o conteúdo da comunidade e aumentam sua capacidade de descobrir conteúdo relevante.

1 Solução aceita

Avatar

Resposta correta de
Community Advisor

Please check the existing community discussion that addresses the same topic you requested.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-populate-by-default... 

Mahedi Sabuj

MS-29LinkedIn

Ver solução na publicação original

2 Respostas

Avatar

Resposta correta de
Community Advisor

Please check the existing community discussion that addresses the same topic you requested.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-populate-by-default... 

Mahedi Sabuj

MS-29LinkedIn

Avatar

Community Advisor

@goyalkritika 

 

You may want to explore the cq:template. This node can be used if you want to provide the default values of properties of a component

aanchalsikka_0-1704432366321.png

 

http://www.sgaemsolutions.com/2018/02/cqtemplate-and-cqtemplatepath.html


Aanchal Sikka