AEM Tabs Component - How to add an extra field | Community
Skip to main content
Level 2
Jan 11, 2022 12:25 PM UTC
Solved

AEM Tabs Component - How to add an extra field

Hi,

Im trying to extend the AEM Tabs Component in order that when you add a tab in the dialog, it gives you an additional text field for each tab you add and how to show this additional text fields value for that tab on the frontend.

I do see that the tab component uses the childeditor, is there a way to achieve this?

 

Thank you.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
Jan 11, 2022 2:18 PM UTC

Hi @jawillis 

 

For this, you can extend the core component and add the additional dialog fields. To fetch the value, extend the core components model using delgating pattern and add the additional values as per your requirement.

 

Check the example here: https://levelup.gitconnected.com/aem-extend-core-component-models-using-resource-type-association-and-delegation-b8855ed281e2

 

Hope it solves your issue!

 

Thanks,

Kiran Vedantam.

2 replies

JAWillisAuthor
Level 2
Jan 12, 2022 7:38 AM UTC

Thank you Kiran,

I will take a look and see if this is the resolution.

Translate
Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
Jan 11, 2022 2:18 PM UTC

Hi @jawillis 

 

For this, you can extend the core component and add the additional dialog fields. To fetch the value, extend the core components model using delgating pattern and add the additional values as per your requirement.

 

Check the example here: https://levelup.gitconnected.com/aem-extend-core-component-models-using-resource-type-association-and-delegation-b8855ed281e2

 

Hope it solves your issue!

 

Thanks,

Kiran Vedantam.

Translate