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

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -