Want to build conten fragment models-with multifield | Community
Skip to main content
Level 2
July 20, 2021
Solved

Want to build conten fragment models-with multifield

  • July 20, 2021
  • 2 replies
  • 1150 views

Hi All,

 

I have requirement like i would like to add 2 filelds in multifield.

is it possible? can you please hlep us? Whenever click on multifield button it has add 2 fields.

 

Thanks,
Venkatesham.

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 Vijayalakshmi_S

Hi @apmagss,

Composite multifield is not available OOTB as part of Content Fragments. 

We need to

  • add additional fields that is to be part of multifield explicitly
  • write custom JS to persist and load the composite multifield data

for which you can refer this blog post - http://experience-aem.blogspot.com/2018/10/aem-6420-assets-content-fragments-coral-3-composite-multifield.html

 

Amend the JS based on your AEM version. (Cross check the identifiers used in the JS is in par with your version)

2 replies

Adobe Employee
July 21, 2021

Hi @apmagss ,

 

Please check the below screenshot to create multifield in content fragment.

 

Hope it helps

 

Thanks!!

apmagssAuthor
Level 2
July 21, 2021
not one field in multifield am expecting to add composite filed
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
July 21, 2021

Hi @apmagss,

Composite multifield is not available OOTB as part of Content Fragments. 

We need to

  • add additional fields that is to be part of multifield explicitly
  • write custom JS to persist and load the composite multifield data

for which you can refer this blog post - http://experience-aem.blogspot.com/2018/10/aem-6420-assets-content-fragments-coral-3-composite-multifield.html

 

Amend the JS based on your AEM version. (Cross check the identifiers used in the JS is in par with your version)