IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
To query a single department, you must perform the following:
Use the following code samples to query a single department by name, by title, and by ID:
Query a department by name
Query a department by title
NOTE: Filtering the Taxa collection by title is case-sensitive.
Query a department by ID
To query all departments under a specified parent department, you must perform the following:
Use the following code sample:
NOTE: Because the Parent property of the first level of departments is null, you must make a check whether the Parent property is null.
To query all departments, you must perform the following:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important