Sitecore SelectItems on Inherited Template -


I am trying to bind an ASP: dropdown list to some cyclicormic items based on queries. Along with the query, I want to return the contents that the template wants to inherit 'Site Route'.

When I use:

  Sitecore.Context.Database.SelectItems ("/ sitecore / content / * [@@ templatename = 'site root']" );   

This returns only those items which have a 'site root' template, not a template that is the heir to this template.

How do I get a query to return items to the successor of this template?

You can not query on any malformed template

Comments