I've been working on some components for my website using Sitecore MVC. The data source items for all these components reside in this fashion, under the page item in a components folder.
I've been using "./components" to give the user option to create or select data source items for components. Here is a screenshot
These components can be reused on different pages and some data source items may reside in an area other than the Components folder. For this reason, I would like to vary this Data Source field to point to different areas of my content tree.
Is there a way to accomplish this in Sitecore 7.0 with MVC?
Thanks
You can separate different datasource locations using pipe |
like this
./Components|/sitecore/content/Site/Site Components/Whatever
I mean the field Datasource Location
of the component sublayout