Tree picker attribute for Slushbucket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 05:14 AM
Hello all,
I have a requirement where I have a parent child relationship in a table (say 'xyz' table) and I want to give a list type field in another table referencing to this xyz table where user can multi-select the records. Is there a way where we can give a tree_picker attribute to list slush-bucket or else we can give a checkbox in in tree_picker view. This will make to UX so much better where user can directly choose multiple records and can also see the hierarchy at the same time.
Please find the attached file which shows exactly how I want the tree_picker to look like.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 06:16 AM
in the reference field dictionary add this in attributes
tree_picker=true
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 09:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 09:31 PM
it won't show, that's OOB behavior
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 09:56 PM
Hi, There's an alternative way but may not suite your requirement. Anyway check if it works for you or not . Creating a path / hierarchy field on the parent child relationship table. There should a one time fix script to update existing data and a business rule to update path ( Root > parent 1 > parent 2 > child) on each update of parent field. Then this field can be added to sys_ref_list view and it will be visible in additional information when anyone selects any item in the slush bucket. If you can check the display true for this field then it will be visible in the main list as well.