This is possibly gonna be the shortest blog post I will ever do, but possibly one of the most useful tit-bits I have found in the Sitecore CMS. Ever wanted to force a user to select a datasource that is relative to the item its being used on ? I have LOADS of times, and after a bit of digging I found this:
Simply setting the Datasource Location to ./ (and I believe any relative path) for your renderings / sublayouts allows just this!
Every day is a (Sitecore) school day !! π
Good tip. Useful if the datasource item is another page. My only concern would be that it might encourage people to put non-page items within the page structure of the site (which always make me wince a little).
A valid point of view – not one I agree with :D. I will explain by means of a post shortly, but its great to receive any feedback on our posts.
As far as I’m concerned, the community can only gain from reasoned debate over the merits of different points of view, so I look forward to your post.