Want to build conten fragment models-with multifield | Community
Skip to main content
Level 2
Jul 20, 2021 5:59 PM UTC
Solved

Want to build conten fragment models-with multifield

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.
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Jul 21, 2021 5:06 PM UTC

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)

4 replies

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Jul 21, 2021 5:06 PM UTC

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)

Translate
Employee
Jul 21, 2021 6:24 AM UTC

Hi @apmagss ,

 

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

 

Hope it helps

 

Thanks!!

Translate
VeenaVikraman
New Participant
Jul 21, 2021 9:30 AM UTC
@bimmiso .. I think he want to add two fields in one click as multifield...
Translate