Want to build conten fragment models-with multifield

Avatar

Avatar
Validate 1
Level 1
apmagss
Level 1

Likes

0 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
apmagss
Level 1

Likes

0 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
apmagss
Level 1

20-07-2021

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

573 likes

Total Posts

728 posts

Correct reply

240 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

573 likes

Total Posts

728 posts

Correct reply

240 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

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

 

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

Answers (1)

Answers (1)

Avatar

Avatar
Affirm 25
Level 5
Bimmi_Soi
Level 5

Likes

73 likes

Total Posts

81 posts

Correct reply

26 solutions
Top badges earned
Affirm 25
Contributor
Applaud 5
Boost 50
Ignite 1
View profile

Avatar
Affirm 25
Level 5
Bimmi_Soi
Level 5

Likes

73 likes

Total Posts

81 posts

Correct reply

26 solutions
Top badges earned
Affirm 25
Contributor
Applaud 5
Boost 50
Ignite 1
View profile
Bimmi_Soi
Level 5

20-07-2021

Hi @apmagss ,

 

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

 

Bimmi_Soi_0-1626848585557.png

Hope it helps

 

Thanks!!