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:
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important