I'm building a template and I want to limit the items the authors can select on a TreeListEx field. I know this can be done specifying the datasource as posted here
Like setting the value on the Source field:
DataSource=/sitecore/content/home/foo&ExcludeTemplatesForSelection=Bar
This is fine, although you are hard coding a path which might not be desired if the ability to move items is desidered.
What if I'm setting an ID on the source field like shown here? How can I limit the selection?
StartSearchLocation
syntax and apply a filter on top of that? That way you would still be able to specify the ID of where to look, then apply the additional filtering?