What is the difference between Extending a component, overriding a component and overlaying a component. Can someone please explain with developer point of view
what is difference between extend, overlay and override component in aem
Extend and Overlay are same. It's just a matter of terminology. Extending and overlaying involves copying the component from /libs/ (or other base library) to /apps node and changing the behaviour.
Override is similar to extend but the only difference is that you change the sling:resourceSuperType
of the component so that it's behaviour completely changes (hence overridden).
More details can be found at:
https://docs.adobe.com/docs/en/aem/6-3/develop/components/components-basics.html
© 2022 - 2024 — McMap. All rights reserved.
sling:resourceSuperType
property of your component to override the behaviour of base component. – Yukikoyukio