19-10-2012Door Ruud van Falier
In Sitecore you have the ability to add sublayouts (also known as components) to placeholders on your page. Sublayouts can point to a datasource item that is used as (you've guessed it) data source during rendering of the sublayout.
There are a few ways to do this, generally by:
- Presetting the sublayout on a placeholder through the page template's Standard Values
- Use the Page Editor to add the sublayout to a placeholder after the page item has been created.
Both methods have a flaw that I wanted to eliminate and this blog post describes those flaws and the methods I used to get rid of them.