Module with Tree view like Tree picker

s_lefebvre
Kilo Expert

Hi all,

I search to create a module to show hierarchical view like the "tree picker" and when I click on an element, I see the record.

I want to have cmn_department list like this but for a module => Tree picker examples

It is possible natively or can I make a custom UI page ?

Thanks for your help.

1 ACCEPTED SOLUTION

Ivano B
ServiceNow Employee
ServiceNow Employee

Hi Sebastien



Now is clear. Maybe I'm wrong but to be honest i think this is not possible OOB.


The only way is to create a UI Page that will provide this functionality. The UI page 'example_big_picture' can be a good starting point.



Cheers


R0b0


View solution in original post

6 REPLIES 6

Ivano B
ServiceNow Employee
ServiceNow Employee

Hi Sebastian



Not sure if this what you need but if you set a specific attribute on reference field and you have a parent field than the tree picker view is available.


As explained in the wiki you need to set tree_picker=true


Assignment_group___ServiceNow.png




Otherwise you can have a look to a UI page named 'example_big_picture' and use it as example because is using a tree structure.



I hope this will help/answer your question and in case it does please mark it



Cheers


R0b0


Hi R0b0,



I use this method to pick my department from user, it's not my question. I try to explain in other way :


I want the same "view" from the picker (hierarchy view) but for the module "Organization > Department".


When I click on a department, I want to see the department's record.



I hope this is more clearly.


Ivano B
ServiceNow Employee
ServiceNow Employee

Hi Sebastien



Sorry but i'm confused.


Could you please send me a snap shot with an explanation of what you would like to see ?



Cheers


R0b0


No problem, I make a photomontage to show you what I want exactly :


montage_module_departments.png



Access to Department Hierarchy directly from module.