Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create custom code field with a tree structure

SOLVED
Go to solution
Highlighted
Rainer Schreurs
Acclaimed Contributor

How to create custom code field with a tree structure

Hi,

we are using OVSD 4.5 SP21.

I have a problem with adding a tree-structured custom field. Creating a "flat" custom field works, but I don't know to get the tree structure.

Regards,
Rainer
3 REPLIES
George M. Meneg
Honored Contributor
Solution

Re: How to create custom code field with a tree structure

Hello Rainer,

Go to Administrator Console/Data/Custom Code and right click and select "New custom code". There, select as type "Hierarchical", give a KEY and a TEXT and that's it.

In order to use it, you must create a field of entity reference type that points to it.
menes fhtagn
Rainer Schreurs
Acclaimed Contributor

Re: How to create custom code field with a tree structure

Thanks a lot, that was the hint I needed

Regards,
Rainer
Rainer Schreurs
Acclaimed Contributor

Re: How to create custom code field with a tree structure

as written above...
//Add this to "OnDomLoad" event