Expand my Community achievements bar.

SOLVED

Want to build conten fragment models-with multifield

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-multi...

 

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

View solution in original post

4 Replies

Avatar

Employee Advisor

Hi @apmagss ,

 

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

 

Bimmi_Soi_0-1626848585557.png

Hope it helps

 

Thanks!!

Avatar

Community Advisor
@Bimmi_Soi .. I think he want to add two fields in one click as multifield...

Avatar

Level 2
not one field in multifield am expecting to add composite filed

Avatar

Correct answer by
Community Advisor

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-multi...

 

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