How can I select a user with Tree Picker

taki
Kilo Contributor

Users belong to groups having parent-child relationships as follows.
find_real_file.png

I want to select a user with Tree Picker in a field on a form.

According to this, I set up the field as reference to the sys_group table, and set the attriubute as "tree_picker=true".
It was able to display the Tree Picker as shown in the above figure, but if I select a user("2 a"), the group name is set in the field.
find_real_file.png

Is there any way to set the selected user as a field using the Tree Picker?

1 ACCEPTED SOLUTION

Archana Reddy2
Tera Guru

Hi,

I believe that, since Assignment Group is referenced to Group table in general, the display value of it will be displayed in the Assignment Group field.

It makes no sense to select a user as Assignment Group. Also, we have Assigned To field which we can customize to only show the members of the group which is selected as Assignment Group. For this, we have to set the dependent field of Assigned To as Assignment Group.

Hope it is clear.

Mark the answer as Correct/Helpful based on its impact.

Thanks,

Archana

View solution in original post

9 REPLIES 9

Archana Reddy2
Tera Guru

Hi,

I believe that, since Assignment Group is referenced to Group table in general, the display value of it will be displayed in the Assignment Group field.

It makes no sense to select a user as Assignment Group. Also, we have Assigned To field which we can customize to only show the members of the group which is selected as Assignment Group. For this, we have to set the dependent field of Assigned To as Assignment Group.

Hope it is clear.

Mark the answer as Correct/Helpful based on its impact.

Thanks,

Archana

Thank you. I understood.

Please let me ask you a question. Is there a way to hide usernames when selecting a group in the Tree view in Assignment Group field? Since it may confuse a user to display usernames when selecting a group.

i dont think that can be done..

 

in case you can find a better workarround let us know.

Also, please close the forum by marking answer correct in case most of the original request is fulfilled.

I don't think so. As far as I know, we cannot hide usernames.

Thanks

understood. Thank you for a clear answer.