I need to create a Location field on catalog Item with a reference to cmn_location and use the tree structured lookup.

Day5
Kilo Contributor

Please either screenshots or step by step instructions. No links to web pages. Thank you.

 

I need to create a Location field on catalog Item with a reference to cmn_location and use the tree structured lookup. Mind you that this variable will be created in a variable set. I need the Users location to show by default, but allow it to be changeable. I need to tree-picker method.

 

1 ACCEPTED SOLUTION

OlaN
Giga Sage
Giga Sage

Hi,

OOB there's no support for the tree_picker in the Service portal. It only works in UI16, and as Aman already mentioned, you must set the variable attribute (tree_picker=true) to enable it.

You will have to create your own widget if you need this function on the Service portal.

View solution in original post

2 REPLIES 2

Aman Kumar S
Kilo Patron

Go to variable, select advanced view > tree_picker=true

 

Ref article:

https://docs.servicenow.com/en-US/bundle/sandiego-platform-user-interface/page/use/common-ui-elements/task/t_AddTheTreePickerAttribute.html

Best Regards
Aman Kumar

OlaN
Giga Sage
Giga Sage

Hi,

OOB there's no support for the tree_picker in the Service portal. It only works in UI16, and as Aman already mentioned, you must set the variable attribute (tree_picker=true) to enable it.

You will have to create your own widget if you need this function on the Service portal.