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
BedrockMission!

Learn More

View all

Sign in to view all badges

How to iterate multifield values from resource path need to modify and adding some more properties ?

Avatar

Avatar
Validate 1
Level 2
keshav_goud
Level 2

Likes

2 likes

Total Posts

23 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
Level 2
keshav_goud
Level 2

Likes

2 likes

Total Posts

23 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
keshav_goud
Level 2

16-08-2020

Hi ,

 I have a Requirement like need to modify multifield values from resource path from node and also add some more properties to the multifield which are not authoring in dialog but need to add some properties in HTML using the existing properties from dialog.

 

   In this process i was gone through 

        https://www.aemquickstart.in/2019/07/nested-multifield-coral-3-with-sling.html

  Here, they are using two slingmodels first one is to render the resource and other is bean class this is the exact requirement i have but two classes for single component the classes count will double. Suppose i have 10 components with 20 sligmodels cant i use single class for modification and adding values to that list<Resource>.

Please provide me any snippet on this .

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,155 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,155 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

17-08-2020

hi,

The class count is depends, if you have a 10 types of multifield then yes, you need 10 bean classes but if bean class/model are common e.g. link model then you can use same model to adapt.

Answers (0)