Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

OOTB component Override AEMasCS

Avatar

Level 1

Hi Team,

We have a requirement to create a few components that are mostly similar to out-of-the-box (OOTB) components, but with additional fields such as text fields or extra descriptions on certain fields. We will override those components, provide a sling:resourceSuperType, and create a dialog for the new fields.

 

My question is whether

In the HTL, do I need to include only the new fields that I have added in the dialog?
I should also update the Sling model to accommodate these new fields.?

And also how can I implement custom styles for the fields values, since most of the values are from slingSuperType ? -Should I add complete HTL from libs then it will become overlay ?


AEMasCS


Thanks,





0 Replies