Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version? 11.0.0
- What is your product type (Angular or MVC)? MVC
- What is product framework type (.net framework or .net core)? .NET Core
In the app we are creating we have the user select a single parent node of the organizational structure from a drop-down. When the parent node is selected, we want to present an organization tree with only the children and sub-children of the parent node that was selected. Is there a way to accomplish this using the existing OrganizationTree and _organizationTree.js files?
Can you provide a way to accomplish this?
Current OU tree doesn't support such scenario. You can use https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Common/Organizations/OrganizationUnitManager.cs#L213 to find an OU's children, so you can show it to user.