How to expand a single node instead of all nodes at same depth in content tree of UI Builder?

Sharique Azim
Mega Sage

Hello Experts, need your help to expand a single node of the selected item of node content tree, the problem is if i click on one expand option, expand every node at the same depth also gets expanded. Added image for reference. If i expand one user hierarchy every user in the same same depth gets also expanded. 
1. first level managersfirst level managersfirst level managers

2. every second level manager is also getting expanded regardless which manager is selected.other second level managers getting expanded regardless who are selectedother second level managers getting expanded regardless who are selected

 

Please suggest.

Shariq

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Sharique Azim 

Do you have any screenshot of what exactly you are referring to?

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Added the image for reference

Hi @Sharique Azim 

It’s not directly or easily possible, and doing so would introduce technical debt. It could also spoil the user experience. I recommend keeping the system as it is, since this is provided OOTB, and educating users on the intended use of the feature.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Thank you for your response—I appreciate your input, but I respectfully disagree. @Dr Atul G- LNG 

 

UI Builder is designed to offer a customizable and dynamic user experience, especially with its support for data bindings and component-level control. Given that flexibility, I believe it should be possible to expand a single node without affecting others at the same depth.

I however agree with your not easily configured part and that is where I request advice from the experts here.

Moreover, the hierarchy in question is being populated via a custom Script Include (probably not mentioned  earlier), which means it's already diverging from out-of-the-box behavior.

 

Therefore, I don’t see how this setup would inherently conflict with the Tree component’s intended functionality.