Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Tree or diagrama to display hierarchy

Dennis2
Kilo Expert

Hi everyone,

I have a custom table where I manage a categorization hierarchy with reference fields.

Where 'related categories' field is a list referencing PARENT categories. So all records in level 2 and level 3 have this field filled with one/more than one values.

I would want to know if there is a way to show a tree/diagram with relationships. Something like that:

 

Or any other kind of display to see the complete relationships.

Thanks in advance.

Dennis.

 

1 REPLY 1

Aman Kumar S
Kilo Patron

Hey,

You can use field attribute tree_picker=true on the field to get the tree like diagram in the reference field.

Follow below link for more info:

TreePickerExamples

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar