Skip to main content
Level 4
January 5, 2024
Respondido

Multifield - One item to render on adding it

  • January 5, 2024
  • 2 respostas
  • 839 Visualizações

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.

 

Este tópico foi fechado para respostas.
Melhor resposta por Mahedi_Sabuj

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-item-in-multifield-dialog/td-p/616089 

2 Respostas

Mahedi_Sabuj
Community Advisor
Mahedi_SabujCommunity AdvisorResposta
Community Advisor
January 5, 2024

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-item-in-multifield-dialog/td-p/616089 

Mahedi Sabuj
aanchal-sikka
Community Advisor
Community Advisor
January 5, 2024

@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

 

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

Aanchal Sikka