Hide tree picker levels for location selection coming from WSD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2024 11:32 AM - edited ‎09-12-2024 12:15 PM
Hello Community,
I am going through a request where we need to hide some levels in the tree picker for location selection.
Since the data is created through WSD Indoor Mapping and synched to the WSD location tables (inheriting cmn_location), the following hierarchy is created in the location table (identified throught the "Location type" field): Region > Site > Campus > Building > Floor > Area (Optional) > Room/Space. This hierarchy makes sense in Indoor Mapping when configuring the floor maps.
However, when selecting a location on forms (eg. user's location) and using the tree picker feature, we see the same hierarchy, but we don't need to see Region and Site levels. We want users to see the hierarchy directly from the Campus level.
Is there a way to do that?
I tried using reference qualifier to hide the levels by filtering the "Location type", but is breaks the tree picker.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2024 05:48 AM
Hi @Yopisn
I understand, you will have to adjust the widget to show the required data. Let me know if you have already did gave a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-03-2024 07:43 AM
Hi @Raj_Esh, I am trying to give it a try, but I am not sure to understand how can be edited the tree picker. You mentioned a Widget but I cannot find any System UI widget that is named like tree picker.
Can you please clarify which widget you are talking about?
Thanks