In my previous post, I introduced the concept of presentation inversion of control. In this post, I will show a few ways that this concept can be implemented.
The Problem (note: this is not a character on MTV's Jersey Shore)
Content Author: "Why do I have to create [page-related item] in some obscure location before adding it to a page?"
Developer: "Because, [page-related item] is not actually "part" of the page, it's simply referenced by a field in your page item and rendered at runtime according to the presentation settings we've established for your page item."
Content Author (eyes glazed over): "What? So I always have to remember to go to this other place in the content tree to create [page-related item] before I can add it to the page? I thought Sitecore was supposed to make my life easier as a content author? Grumble grumble..."
Developer: "Sorry, that's just how the Sitecore authoring tools work."
Does that conversation sound familiar? If so, you're in luck, there is now a way to change the conversation or avoid it altogether! The Inline Item List field
aims to empower content authors with the ability to create/edit/delete related items without leaving the item they're currently editing.
I recently had the honor of speaking at Dreamcore North America. Due to time constraints, I had to run through the details pretty quickly. In this series, I will go into the topic in more depth than I could in the 15 minutes I had for the Dreamcore presentation.