Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Tree picker examples

Log in to subscribe to topics and get notified when content changes.

Tree picker examples

The sections below include tree picker examples.

Assignment Group

By default, the Assignment group field uses the tree picker attribute.

Figure 1. Assignment group
Assignment group

This presents a hierarchical tree view of the reference field's options, which in this case is groups. If a group has sub-groups, they appear in the tree structure. It is possible to expand a group to see its members, but members cannot be selected.

Note: You cannot customize the label names used in the tree picker. The label names are taken from the values in the table. For example, the Assignment group choices come from the group names in the Name column of the Groups table.

Simple dependent fields

It is also possible to add the tree-picker attribute on a reference field that is dependent on a reference field of a different type. For example, if Assigned to is dependent on Assignment group, it is possible to add the tree picker attribute on Assigned to. The result is a one-node tree for the group and its members.

Figure 2. Tree picker on a reference field

Dependent fields

In this example, there are two CI reference fields, and one is dependent on the other. The dependent one has the tree_picker attribute:

Figure 3. Tree picker on a dependent field
Tree picker on a dependent field

For this example, the configuration item is Bond Trading. The tree picker for the Dependent CI field shows all downstream and upstream relationships for that CI. The small orange square icon above a relationship indicates that the CI, lawson, already has an open task against it. Pointing to the orange square displays a pop-up window with information about the open task.

Note: Dependencies for CIs are enforced only when the dictionary entry for the reference field has tree_picker=true in the Attributes field.