Adobe gives us a ton of authoring components out of the box!
I mean, just look at them all in CRXDE 😲!
If you’ve spent any time on an AEM project you’ve no doubt composed component authoring dialogs using: Textfields, Switches, Multifields, etc. Adobe does a great job of providing almost everything a developer could need!
Occasionally though, we’ll need something a little more custom and on those occasions, datasource takes care of me 95% of the time.
For example, let’s say we have a Button/CTA component that needs to open up a modal/dialog. We can easily build a list of modal components on the page using a servlet and then provide that list via datasource:
Straightforward and easy for a Content Author to use, right?