Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Want to build conten fragment models-with multifield

apmagss
Level 2
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
Vijayalakshmi_S
Correct answer by
Community Advisor
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

2 Replies
Bimmi_Soi
Community Advisor
Community Advisor

Hi @apmagss ,

 

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

 

Bimmi_Soi_0-1626848585557.png

Hope it helps

 

Thanks!!

Veena_Vikram
Community Advisor
Community Advisor
@Bimmi_Soi .. I think he want to add two fields in one click as multifield...
apmagss
Level 2
Level 2
not one field in multifield am expecting to add composite filed
Vijayalakshmi_S
Correct answer by
Community Advisor
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