Datasources beneath the context item

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 !! 😀

Advertisements

3 thoughts on “Datasources beneath the context item

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s