To delete a department, you must perform the following:
NOTE: To delete multiple departments, query them and execute the code below for each one of them.
NOTE: If you try to delete a department that has child departments, the child departments will also get deleted.
Use the following code sample:
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