viewer-components-react icon indicating copy to clipboard operation
viewer-components-react copied to clipboard

Tree widget: a way to create Classifications Tree hierarchy provider

Open GytisCepk opened this issue 2 months ago • 1 comments

I'm trying to create a custom Classifications Tree which would show elements coming from two different iModelConnection instances. I'm planning to use hierarchy merging for that (https://github.com/iTwin/presentation/issues/844), which requires me to have pass two hierarchy providers each created with different iModelConnection.

Problem: I don't see a way to create Classifications Tree hierarchy provider without calling useClassificationsTree hook.

Additionally, I need a way to create filtered paths for Classifications Tree using InstanceKey array. Again, it should be available without using useClassificationsTree.

GytisCepk avatar Nov 05 '25 08:11 GytisCepk

Prerequisites:

  • [ ] https://github.com/iTwin/viewer-components-react/issues/1512
  • [ ] https://github.com/iTwin/viewer-components-react/issues/1513
  • [ ] https://github.com/iTwin/viewer-components-react/issues/1421

JonasDov avatar Nov 18 '25 13:11 JonasDov

After some discussions we decided that it should be possible to define and expose public API for creating classifications tree definition and incorporate prerequisites incrementally after.

saskliutas avatar Dec 02 '25 09:12 saskliutas